リフレッシュ
docker container stop $(docker container ls -aq)
docker container rm -f $(docker container ls -aq)
docker image rm -f $(docker image ls -aq)
docker network rm $(docker network ls -q)
docker volume rm -f $(docker volume ls -q)
docker compose down --volumes --remove-orphans --rmi all
docker builder prune -f
docker image prune --all -f
yes | docker container prune -f
yes | docker system prune --volumes -f
sudoを付ける場合
sudo docker container stop $(sudo docker container ls -aq)
sudo docker container rm -f $(sudo docker container ls -aq)
sudo docker image rm -f $(sudo docker image ls -aq)
sudo docker network rm $(sudo docker network ls -q)
sudo docker volume rm -f $(sudo docker volume ls -q)
sudo docker compose down --volumes --remove-orphans --rmi all
sudo docker builder prune -f
sudo docker image prune --all -f
yes | sudo docker container prune -f
yes | sudo docker system prune --volumes -f
殺意高め