{"id":439296,"date":"2021-04-16T00:06:04","date_gmt":"2021-04-15T16:06:04","guid":{"rendered":"http:\/\/4563.org\/?p=439296"},"modified":"2021-04-16T00:06:04","modified_gmt":"2021-04-15T16:06:04","slug":"docker-%e7%9a%84%e6%9f%90%e4%ba%9b%e5%91%bd%e4%bb%a4%e8%a2%ab%e5%8d%a1%e4%bd%8f%e4%ba%86%ef%bc%8c%e4%b8%80%e7%9b%b4%e6%b2%a1%e6%9c%89%e5%8f%8d%e5%ba%94","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=439296","title":{"rendered":"docker \u7684\u67d0\u4e9b\u547d\u4ee4\u88ab\u5361\u4f4f\u4e86\uff0c\u4e00\u76f4\u6ca1\u6709\u53cd\u5e94"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  docker \u7684\u67d0\u4e9b\u547d\u4ee4\u88ab\u5361\u4f4f\u4e86\uff0c\u4e00\u76f4\u6ca1\u6709\u53cd\u5e94               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : JasonLaw <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6267\u884c docker container ls \u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u662f\u6267\u884c docker container stop {containerName}\u5374\u4e00\u76f4\u5361\u4f4f\uff0c\u5b8c\u5168\u6ca1\u6709\u4efb\u4f55\u5934\u7eea\uff0c\u60f3\u770b\u770b\u5927\u5bb6\u6709\u6ca1\u6709\u601d\u8def\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5754373\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : maocat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             kill -9 pid                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754374\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dzdh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             -t, &#8211;time int Seconds to wait for stop before killing it (default 10)                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754375\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : JasonLaw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @maocat #1 <br \/>@dzdh #2 <\/p>\n<p>\u4e0d\u662f\u53ea\u6709 stop \u5361\u4f4f\u4e86\uff0c\u540c\u6837\uff0cstart \u4e5f\u5361\u4f4f\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754376\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lustxcc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c8c\u4f3c\u662f docker \u7684 bug\uff0c\u6211\u4e4b\u524d\u4e5f\u9047\u5230\u8fc7\uff0c\u5347\u7ea7\u540e\u6ca1\u9047\u5230\u8fc7\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754377\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : JasonLaw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lustxcc #4 \u6211\u6628\u5929\u5df2\u7ecf\u5347\u7ea7\u4e86 docker engine\uff0c\u76ee\u524d\u7684\u7248\u672c\u662f 20.10.6 \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754378\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vivisidea <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             journalctl -u docker<\/p>\n<p>\u770b\u4e0b docker \u7684\u8f93\u51fa\u65e5\u5fd7\u5462\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754379\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Webpoplayer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4eca\u5929\u78b0\u5230\u4e00\u4e2a\uff0c\u6d4b\u8bd5\u73af\u5883\u5347\u7ea7 docker ce \u7684\uff0c\u7ed3\u679c\u4e00\u76f4\u6ca1\u53cd\u5e94\uff0c\u5c31\u628a docker \u76f8\u5173\u7684\u5378\u8f7d\u4e86\uff0c\u518d\u91cd\u65b0\u5b89\u88c5\uff0c\u542f\u52a8\u540e\u67e5\u770b\u955c\u50cf\u662f\u5b58\u5728\u672c\u5730\u7684\uff0c\u4f46\u662f\u8d77 compose \u7684\u65f6\u5019\u53c8\u91cd\u65b0\u4ece\u4ed3\u5e93\u62c9\u53d6\u518d\u542f\u52a8\uff0c\u7136\u540e\u67e5\u770b\u955c\u50cf\u53d1\u73b0\u901a\u8fc7 compose \u8d77\u6765\u7684\u955c\u50cf\u90fd\u6709\u4e24\u4efd\uff0c\u800c\u4e14\u955c\u50cf ID \u90fd\u662f\u540c\u6837\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5754380\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lululau <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9047\u5230\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u7684\u95ee\u9898\u6ca1\u6709\u5934\u7eea\u65f6\uff0c\u5c1d\u8bd5\u4ee5\u4e0b\u65b9\u6cd5\u548c\u5de5\u5177\uff1a<br \/>log<br \/>-v \/ &#8211;verbose \/ -vv \/ -vvv<br \/>&#8211;debug<br \/>tracing tools, \u6bd4\u5982 dtrace strace bpftrace <br \/>github issue <br \/>stackoverflow <br \/>google                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>docker \u7684\u67d0\u4e9b\u547d\u4ee4\u88ab\u5361\u4f4f\u4e86\uff0c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/439296"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=439296"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/439296\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=439296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=439296"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=439296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}