I tried to stop a container running cloudera/quickstart using
docker stop [container]
but it is not stopping and is taking forever (nothing happens). Same thing happens if I try to remove it using
docker rm -f [container]
How can I stop/remove this container? Thanks.
答案 0 :(得分:0)
如果您位于容器内,则可以执行ctrl + d从容器中取出。它还将停止cloudera容器。
答案 1 :(得分:-1)
你可以进入容器:
docker exec -it {container id} bash
然后执行exit