Docker 학습 노트(3) - Docker 창고의 거울을 어떻게 삭제합니까

744 단어
docker       ,              docker,              ,              pull     ,               ,                      images           。
docker images , image, :

1. root

sudo su

2. container, images:

docker stop $(docker ps -a -q)

container :

docker rm $(docker ps -a -q)

3. images

docker images

4. images, image id

docker rmi <image id>

untagged images, id <None> image

docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

image

docker rmi $(docker images -q)

좋은 웹페이지 즐겨찾기