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?

More than 3 years have passed since last update.

dockerメモ

Last updated at Posted at 2021-02-04

bindingpy使う

docker attach {IMG_ID} #マウントする

biding.py #デバッグしたい箇所につける

docker rm works

docker ps -a
docker rm -vf $(docker ps -a -q)
docker rmi -f $(docker images -a -q)
docker volume ls
docker-compose down --volumes
docker volume ls
docker volumne rm some_volume_cache
docker rm some_volume_cache
docker volume rm $(docker volume ls -qf dangling=true)
docker volume ls
docker volume ls -qf dangling=true | xargs -r docker volume rm

docker network prune
0
0
1

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?