2\u3001\u6e05\u7406\u6b64\u5bb9\u5668\u7684\u7f51\u7edc\u5360\u7528<\/strong><\/span><\/div>\n\r\ndocker network disconnect --force bridge jenkins\r\ndocker \u65e0\u6cd5stop\uff0ckill\u5bb9\u5668\r\n<\/pre>\n\u6700\u8fd1\u5728\u9047\u5230docker\u65e0\u6cd5\u5220\u9664\uff0c\u6216\u8005kill\u76f8\u5e94\u7684\u5bb9\u5668\uff0c\u8981\u4e48\u662f\u8fd0\u884c\u5b8cdocker stop xxx\u540e\u53d1\u73b0xxx\u4ecd\u7136\u5b58\u5728\uff0c\u8981\u4e48\u5c31\u6839\u672c\u65e0\u6cd5\u5220\u9664\uff0c\u6216\u8005\u53d1\u73b0\u4f1a\u62a5\u9519\uff0c\u63d0\u793a Error response from daemon: Conflict, cannot remove the default name of the container<\/p>\n
\u8fd9\u79cd\u60c5\u51b5\u7684\u53ef\u80fd\u539f\u56e0\u662f\u5728\u8fc7\u53bb\u7684\u67d0\u4e2a\u65f6\u523b\uff0c\u5df2\u521b\u5efa\u4e86\u4e00\u4e2a\u547d\u540d\u5bb9\u5668\uff0c\u7136\u540e\u60a8\u5df2\u5c06\u5176\u4fdd\u6301\u8fd0\u884c\u72b6\u6001\u3002\u4e4b\u540e\uff0c\u4e3b\u673a\u56e0\u4efb\u4f55\u539f\u56e0\u91cd\u65b0\u542f\u52a8\uff0c\u5e76\u4e14\u6ca1\u6709\u4f18\u96c5\u5730\u7ec8\u6b62\u5bb9\u5668\u3002\u5269\u4e0b\u7684\u6587\u4ef6\u73b0\u5728\u4f3c\u4e4e\u963b\u6b62\u4f60\u91cd\u65b0\u751f\u6210\u65e7\u540d\u79f0\u7684\u65b0\u5bb9\u5668\uff0c\u56e0\u4e3a\u7cfb\u7edf\u8ba4\u4e3a\u65e7\u5bb9\u5668\u4ecd\u7136\u5b58\u5728\u3002<\/p>\n
\u6211\u4eec\u5148\u4f7f\u7528docker ps -a \u770b\u770b\u6240\u6709\u5bb9\u5668\u7684\u8fd0\u884c\u8bb0\u5f55\uff0c\u4ee5\u5f02\u5e38\u65b9\u5f0f\u9000\u51fa\u7684\u5bb9\u5668\u5c06\u5177\u6709\u975e\u96f6\u72b6\u6001\u4ee3\u7801\u3002\u6839\u636e\u540d\u79f0\u641c\u7d22\u9700\u8981\u7684\u540d\u79f0\uff0c\u7136\u540e\u4f7f\u7528\u5b9e\u9645\u7684\u5341\u516d\u8fdb\u5236\u4ee3\u7801\u5c06\u5176\u5220\u9664 docker rm xxxxxx\u3002<\/p>\n
\u4f46\u662f\uff0c\u6709\u65f6\u5019\u53d1\u73b0-a\u5e76\u6ca1\u6709\u591a\u4f59\u4fe1\u606f\u3002\u5219\u53ef\u7528\u624b\u52a8\u5220\u9664\u5bb9\u5668\u65b9\u6cd5\u3002\u5373\u5220\u9664\/var\/lib\/docker\/containers\/\u4e0b\u7684\u5bf9\u5e94\u6587\u4ef6\u5939\uff0c\u5c06\u5176\u5220\u9664\uff0c\u6ce8\u610f\u4f7f\u7528root\u6743\u9650\uff0c\u7136\u540esystemctl restart docker\u5373\u53ef\u3002<\/p>\n
\u5230\u6b64\u8fd9\u7bc7\u5173\u4e8edocker\u5bb9\u5668\u65e0\u6cd5stop\u7684\u89e3\u51b3\u529e\u6cd5\u7684\u6587\u7ae0\u5c31\u4ecb\u7ecd\u5230\u8fd9\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
docker rm -f jenkins docker network disconnect –force […]<\/p>\n","protected":false},"author":63,"featured_media":192343,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-192342","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/192342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=192342"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/192342\/revisions"}],"predecessor-version":[{"id":192344,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/192342\/revisions\/192344"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/192343"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=192342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=192342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=192342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}