mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-22 15:40:25 +00:00
27 lines
488 B
Bash
27 lines
488 B
Bash
|
# stop all containers
|
||
|
docker stop $(docker ps -aq)
|
||
|
|
||
|
# remove all containers
|
||
|
docker rm -f $(docker ps -aq)
|
||
|
|
||
|
#remove all images
|
||
|
docker image rm $(docker images -q)
|
||
|
|
||
|
#remove all unused containers, networks, images, and volumes
|
||
|
docker system prune -f
|
||
|
|
||
|
#remove all unused volumes
|
||
|
docker volume prune -f
|
||
|
|
||
|
#remove all unused networks
|
||
|
docker network prune -f
|
||
|
|
||
|
#remove all builds
|
||
|
docker builder prune -f
|
||
|
|
||
|
#remove all completed builds
|
||
|
docker builder prune -a -f
|
||
|
|
||
|
# install new
|
||
|
docker compose up -d
|