Cannot stop a cloudera/quickstart in Docker

时间:2016-07-11 21:06:06

标签: docker cloudera cloudera-quickstart-vm

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.

2 个答案:

答案 0 :(得分:0)

如果您位于容器内,则可以执行ctrl + d从容器中取出。它还将停止cloudera容器。

答案 1 :(得分:-1)

你可以进入容器:

docker exec -it {container id} bash

然后执行exit