Update docker-prune.yml
This commit is contained in:
10
docker-prune.yml
Normal file
10
docker-prune.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Prune unused Docker images
|
||||
hosts: all
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Prune dangling images
|
||||
shell: docker image prune -f
|
||||
|
||||
- name: Prune all unused images
|
||||
shell: docker image prune -a -f
|
||||
Reference in New Issue
Block a user