{"id":296,"date":"2020-03-29T14:33:50","date_gmt":"2020-03-29T06:33:50","guid":{"rendered":"http:\/\/cqiot.cc\/?p=296"},"modified":"2023-12-26T12:12:01","modified_gmt":"2023-12-26T04:12:01","slug":"mycontroller-docker%e7%89%88%e6%9c%ac-%e4%b8%ad%e6%96%87","status":"publish","type":"post","link":"https:\/\/cqiot.cc\/index.php\/2020\/03\/29\/mycontroller-docker%e7%89%88%e6%9c%ac-%e4%b8%ad%e6%96%87\/","title":{"rendered":"mycontroller DOCKER\u7248\u672c \u4e2d\u6587"},"content":{"rendered":"\n<p>docker \u5730\u5740\uff1a<a href=\"https:\/\/hub.docker.com\/r\/huex\/mctll\/\">https:\/\/hub.docker.com\/r\/huex\/mctll\/<\/a><\/p>\n\n\n\n<p>\u5b98\u7f51\u8bf4\u660e\uff1a<a href=\"https:\/\/www.mycontroller.org\/#\/documents\/user\/1.5.0.Final.html\">https:\/\/www.mycontroller.org\/#\/documents\/user\/1.5.0.Final.html<\/a><\/p>\n\n\n\n<p>N1 arm\u67b6\u6784\u7684\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\ndocker pull  huex\/mctll:armbian\n\ndocker run --network=host -d  \\\n    --restart=always \\\n    --name mysensor\\\n    huex\/mctll:armbian\n<\/code><\/pre>\n\n\n\n<p>x64\u67b6\u6784\u7684\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull      huex\/mctll:latest\n\ndocker run --network=host -d  \\\n    --restart=always \\\n    --name mysensor\\\n    huex\/mctll:latest\n<\/code><\/pre>\n\n\n\n<p>\u81ea\u5b9a\u4e49\u914d\u7f6e\u6587\u4ef6\u5728\u955c\u50cf\u5185\u90e8\/mctll\/conf\/mycontroller.properties<\/p>\n\n\n\n<p>\u53ef\u62f7\u8d1d\u81ea\u5b9a\u4e49\u6620\u5c04\u76ee\u5f55\u3002\u5efa\u8bae\u914d\u7f6emysql\u5b58\u50a8\uff01 web\u7aef\u53e31043<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-15-1024x460.png\" alt=\"\" class=\"wp-image-297\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-15-1024x460.png 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-15-300x135.png 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-15-768x345.png 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-15-660x296.png 660w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-15.png 1427w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"375\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-16-1024x375.png\" alt=\"\" class=\"wp-image-298\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-16-1024x375.png 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-16-300x110.png 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-16-768x281.png 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-16-660x242.png 660w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-16.png 1436w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"256\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-17-1024x256.png\" alt=\"\" class=\"wp-image-299\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-17-1024x256.png 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-17-300x75.png 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-17-768x192.png 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-17-660x165.png 660w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-17.png 1411w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"316\" src=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-18-1024x316.png\" alt=\"\" class=\"wp-image-300\" srcset=\"https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-18-1024x316.png 1024w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-18-300x93.png 300w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-18-768x237.png 768w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-18-660x204.png 660w, https:\/\/cqiot.cc\/wp-content\/uploads\/2020\/03\/image-18.png 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>docker \u5730\u5740\uff1ahttps:\/\/hub.docker&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":297,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-iot"],"_links":{"self":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/296","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=296"}],"version-history":[{"count":3,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/296\/revisions"}],"predecessor-version":[{"id":303,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/posts\/296\/revisions\/303"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/media\/297"}],"wp:attachment":[{"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/media?parent=296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/categories?post=296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cqiot.cc\/index.php\/wp-json\/wp\/v2\/tags?post=296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}