0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Docker リフレッシュ

Last updated at Posted at 2024-06-21
リフレッシュ
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

殺意高め

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?