docker rm

1 개요[ | ]

docker rm
root@default:~# docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
915fc132bee4        centos:7            "/bin/bash"         2 hours ago         Up 4 minutes                            mycentos
root@default:~# docker rm mycentos
Error response from daemon: You cannot remove a running container 915fc132bee49e6b53604ed4df4dbb7896609b8d4a87f987bc9b976a64edb7a9. Stop the container before attempting removal or force remove
root@default:~# docker stop mycentos
mycentos
root@default:~# docker rm mycentos
mycentos

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}