-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.json
25 lines (25 loc) · 1.1 KB
/
commands.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"containers": {
"command": "docker container prune --force",
"commandAll": "docker stop $(docker ps -a -q);docker rm -v $(docker ps -aq)",
"success": "All stopped Docker containers purged",
"successAll": "All Docker containers purged",
"noneFoundMsg": "There are no containers to purge"
},
"images": {
"command": "docker image prune --all --force",
"success": "All unused Docker images purged, this will not have removed images that are in use. Use --all to remove all images",
"successAll": "All Docker images and associated containers purged",
"noneFoundMsg": "There are no images to purge"
},
"volumes": {
"command": "docker volume prune --force",
"success": "All unused Docker volumes purged, this will not have removed volumes with associated containers. Use --all to remove all volumes, this will also delete all containers",
"successAll": "All Docker volumes and associated containers purged",
"noneFoundMsg": "There are no volumes to purge"
},
"prune": {
"command": "docker system prune --all --force",
"success": "Docker system prune successful"
}
}