{"id":377,"date":"2021-02-21T21:22:50","date_gmt":"2021-02-21T13:22:50","guid":{"rendered":"http:\/\/cqiot.cc\/?p=377"},"modified":"2023-12-26T12:10:50","modified_gmt":"2023-12-26T04:10:50","slug":"portainer%e4%b8%ad%e6%96%87%e6%b1%89%e5%8c%96","status":"publish","type":"post","link":"https:\/\/cqiot.cc\/index.php\/2021\/02\/21\/portainer%e4%b8%ad%e6%96%87%e6%b1%89%e5%8c%96\/","title":{"rendered":"Portainer\u4e2d\u6587\u6c49\u5316"},"content":{"rendered":"1\u3001\u521b\u5efa\u76ee\u5f55\uff0c\u5e76\u89e3\u538b\u6587\u4ef6\n\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mkdir -p \/data\/portainer\/data \/data\/portainer\/public\ncd \/data\/portainer\nwget https:\/\/cqiot.cc\/wp-content\/uploads\/2021\/02\/Portainer-CN.zip\nunzip Portainer-CN.zip -d public<\/code><\/pre>\n\u6ca1\u6709\u5b89\u88c5unzip\u7684\u8bf7\u5148\u5b89\u88c5\u540e\u518d\u89e3\u538b\n\n2\u3001\u8fd0\u884cPortainer\n\n\n\n\n<pre class=\"wp-block-preformatted\"><code>docker run -d --restart=always --name portainer -p 9000:9000 -v \/var\/run\/docker.sock:\/var\/run\/docker.sock -v \/data\/portainer\/data:\/data -v \/data\/portainer\/public:\/public portainer\/portainer<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u521b\u5efa\u76ee\u5f55\uff0c\u5e76\u89e3\u538b\u6587\u4ef6 mkdir -p \/data\/&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-377","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":3,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"predecessor-version":[{"id":382,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/377\/revisions\/382"}],"wp:attachment":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}