我使用docker启动了couchbase社区,如下所示:
docker run -e CB_RAMSIZE = 256 -e“CB_ADMIN_PWD = 123456” – name couchbase-community -p 8091-8094:8091-8094 -p 11210:11210 crobin / couchbase-community
我现在正试图阻止它
docker stop couchbase-community
docker kill couchbase-community
docker kill -s 9 couchbase-community
没有什么能阻止它.
它刚刚活着.无论如何我要停止那个容器?!
docker ps -a的结果
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9deed40a7db9 crobin/couchbase-community "bash /bin/start-cb.…" 32 hours ago Up 32 hours (healthy) 0.0.0.0:8091-8094->8091-8094/tcp,11207/tcp,11211/tcp,0.0.0.0:11210->11210/tcp,18091-18094/tcp couchbase-community
7b265619e593 Nginx "--name Nginx" 8 weeks ago Created 80/tcp laughing_brahmagupta
65f7ebdf03ba Nginx "1000" 8 weeks ago Created 80/tcp lucid_heyrovsky
e402edffeeaa db148b62d457 "tini -- start-noteb…" 2 months ago Created admiring_brattain
60e58a104b52 db148b62d457 "tini -- start-noteb…" 2 months ago Created eloquent_elion
a668f900566e db148b62d457 "tini -- start-noteb…" 2 months ago Created unruffled_poitras
6fe2e4bd18bc jupyterhub/jupyterhub "--generate-config" 2 months ago Created 8000/tcp
docker和OS版本
docker Version 17.12.0-ce-mac55 (23011) on macbook 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
最佳答案
原文链接:https://www.f2er.com/docker/436853.html