티스토리 뷰

7. 클라우드(3)

Docker Commands

패스트코드블로그 2021. 7. 30. 12:37

docker ps : find containers that running 

docker ps -a : find all containers 

docker rm [container id] : remove one container

docker rm [container id] , [container id] : remove some containers

docker rm `docker ps -a -q` : remove all containers

docker images: find all images

docker rmi [image id] : remove image

docker rmi -f [image id] : remove image and container 

docker rm -f $(docker ps -aq)

docker rmi $(docker images -q)

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함