{"id":763,"date":"2024-05-27T17:02:48","date_gmt":"2024-05-27T09:02:48","guid":{"rendered":"http:\/\/www.huerpu.cc:7000\/?p=763"},"modified":"2024-05-27T17:02:48","modified_gmt":"2024-05-27T09:02:48","slug":"%e7%be%a4%e6%99%96nas%e6%95%99%e7%a8%8b%e4%ba%8c%e5%8d%81%e4%b9%9d%e3%80%81%e5%88%a9%e7%94%a8docker%e5%ae%89%e8%a3%85%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf","status":"publish","type":"post","link":"http:\/\/www.huerpu.cc:7000\/?p=763","title":{"rendered":"\u7fa4\u6656NAS\u6559\u7a0b(\u4e8c\u5341\u4e5d)\u3001\u5229\u7528Docker\u5b89\u88c5\u5b9d\u5854\u9762\u677f"},"content":{"rendered":"<h1>\u7fa4\u6656NAS\u6559\u7a0b(\u4e8c\u5341\u4e5d)\u3001\u5229\u7528Docker\u5b89\u88c5\u5b9d\u5854\u9762\u677f<\/h1>\n<p>\u5e94\u5c0f\u4f19\u4f34\u8981\u6c42\uff0c\u4eca\u5929\u5229\u7528\u7fa4\u6656\u91cc\u7684docker\u5b89\u88c5\u4e00\u4e0b\u5b9d\u5854\u9762\u677f\u3002\u73b0\u5728\u7fa4\u6656\u91cc\u7684docker\u5957\u4ef6\u6539\u6210\u4e86Container Manager\uff0c\u5927\u540c\u5c0f\u5f02\uff0c\u9875\u9762\u4e5f\u5dee\u4e0d\u591a\u3002<\/p>\n<h2>\u4e00\u3001\u4e0b\u8f7dbaota\u955c\u50cf<\/h2>\n<p>\u5728Container Manager\u4e2d\u641c\u7d22baota\uff0c\u6211\u4eec\u5c31\u9009\u7b2c\u4e00\u4e2a\u5427\uff0c\u7b2c\u4e00\u4e2astar\u6bd4\u8f83\u591a\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/001.png\" alt=\"001\" \/><\/p>\n<p>\u9009\u62e9\u6700\u65b0\u7248\u7684\u955c\u50cf\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/002.png\" alt=\"002\" \/><\/p>\n<p>\u6b63\u5728\u4e0b\u8f7d\u4e2d\u4e86\uff0c\u8fd9\u4e2a\u955c\u50cf\u6709\u70b9\u5927\uff0c\u8c8c\u4f3c\u67095\u4e2a\u591aG\u3002\u8010\u5fc3\u7b49\u5f85\u4e00\u4f1a\u513f\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/003.png\" alt=\"003\" \/><\/p>\n<h2>\u4e8c\u3001\u8fd0\u884c\u5bb9\u5668<\/h2>\n<p>\u4e0b\u8f7d\u597d\u4e86\uff0c\u70b9\u51fb\u8fd0\u884c\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/004.png\" alt=\"004\" \/><\/p>\n<h2>\u4e09\u3001\u914d\u7f6e\u5bb9\u5668<\/h2>\n<p>\u8fd9\u91cc\u9009\u62e9\u542f\u7528\u81ea\u52a8\u91cd\u65b0\u542f\u52a8\uff0c\u5f53\u7136\u4f60\u4e0d\u52fe\u9009\u4e5f\u5b8c\u5168\u4e0d\u5f71\u54cd\u3002\u8bb0\u4f4f\u8fd9\u91cc\u7684\u5bb9\u5668\u540d\u79f0\u4e3apch18-baota\uff0c\u5f53\u7136\u4e5f\u53ef\u8bbe\u7f6e\u6210\u968f\u4fbf\u4ec0\u4e48\u540d\u5b57\uff0c\u6839\u636e\u4e2a\u4eba\u559c\u597d\u8bbe\u7f6e\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/005.png\" alt=\"005\" \/><\/p>\n<p>\u5728\u7fa4\u6656docker\u5171\u4eab\u6587\u4ef6\u5939\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2abaota\u7684\u6587\u4ef6\u5939\uff0c\u5728\u5176\u4e0b\u5728\u521b\u5efawwwroot\u548cbackup\u4e24\u4e2a\u6587\u4ef6\u5939\uff0c\u6587\u4ef6\u5939\u8bbe\u7f6e\u6210\u53ef\u8bfb\u5199\u6743\u9650\uff0c\u4f60\u6700\u5c11\u6620\u5c04\u4e00\u4e2awwwroot\u5427\uff0c\u5b83\u7684dockerhub\u4e0a\u8bf4\u7684https:\/\/registry.hub.docker.com\/r\/pch18\/baota\/\uff0c\u53ef\u4ee5\u70b9\u8fdb\u5165\u770b\u4e00\u4e0b\u76f8\u5173\u914d\u7f6e\uff0c\u5982\u679c\u4f60\u4e0d\u662f\u5f88\u660e\u786e\u7684\u8bdd\u3002<\/p>\n<p>\u8fd9\u91cc\u8bbe\u7f6e\u4e00\u4e0b\u7aef\u53e3\u6620\u5c04\uff0c\u5e76\u6620\u5c04\u4e00\u4e0b\u4e24\u4e2a\u9700\u8981\u7684\u6587\u4ef6\u5939\uff0c\u5176\u4e2d443\u300180\u662f\u7f51\u9875\u7684\u7aef\u53e3\u30028888\u662f\u5b9d\u5854\u9762\u677f\u7684\u9ed8\u8ba4\u767b\u9646\u7aef\u53e3\uff0c888\u662f\u6570\u636e\u5e93\u7684\u767b\u9646\u7aef\u53e3\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/007.png\" alt=\"007\" \/><\/p>\n<p>\u786e\u8ba4\u5e76\u542f\u52a8\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/008.png\" alt=\"008\" \/><\/p>\n<h2>\u56db\u3001\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801<\/h2>\n<p>pch18\/baota\u7684dockerhub\u4e0a\u8bf4\uff0c\u521d\u59cb\u5316\u7528\u6237\u540d\u4e3ausername\uff0c\u521d\u59cb\u5316\u5bc6\u7801\u4e3apassword\uff0c\u4f46\u5982\u679c\u4f60\u6309\u7167\u8fd9\u4e2a\u53bb\u767b\u5f55\u4f1a\u63d0\u793a\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef\uff0c\u6211\u8bd5\u4e86N\u591a\u6b21\u90fd\u662f\u5982\u6b64\u3002pch18\/baota\u7684dockerhub\u5730\u5740\uff1a<a href=\"https:\/\/registry.hub.docker.com\/r\/pch18\/baota\/\u3002\u90a3\u6211\u4eec\u5c31\u8bbe\u7f6e\u4e00\u4e0b\u5427\">https:\/\/registry.hub.docker.com\/r\/pch18\/baota\/\u3002\u90a3\u6211\u4eec\u5c31\u8bbe\u7f6e\u4e00\u4e0b\u5427<\/a>\u3002<\/p>\n<ul>\n<li>\u521d\u59cb\u8d26\u53f7 <code>username<\/code> \u4e0d\u7528\u76f8\u4fe1\u5b83\uff01<\/li>\n<li>\u521d\u59cb\u5bc6\u7801 <code>password<\/code> \u4e0d\u7528\u76f8\u4fe1\u5b83\uff01<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/009.png\" alt=\"009\" \/><\/p>\n<p>\u5728\u672c\u5730\u5c40\u57df\u7f51\u73af\u5883\uff0cssh\u767b\u5f55\u5230\u7fa4\u6656\uff0c\u5e76\u4e14\u5207\u6362\u6210root\u6743\u9650\uff0c\u4f7f\u7528\u547d\u4ee4docker exec -it pch18-baota bash\uff0c\u5176\u4e2dpch18-baota\u5c31\u662f\u4e0a\u9762\u521b\u5efa\u5bb9\u5668\u7684\u65f6\u5019\u7684\u5bb9\u5668\u540d\u79f0\uff0c\u4e0e\u4e0a\u9762\u4fdd\u6301\u4e00\u81f4\u3002\u8f93\u5165bt\u547d\u4ee4\uff0c\u9009\u62e95\u548c6\u8fdb\u884c\u8bbe\u7f6e\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/012.png\" alt=\"012\" \/><\/p>\n<h2>\u4e94\u3001\u767b\u5f55\u5b9d\u5854<\/h2>\n<p>\u8bbe\u7f6e\u5b8c\u4e4b\u540e\uff0c\u767b\u5f55\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/image-20240527125033345.png\" alt=\"image-20240527125033345\" \/><\/p>\n<p>\u540c\u610f\u7528\u6237\u534f\u8bae\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/010.png\" alt=\"010\" \/><\/p>\n<p>\u8fd9\u6837\u5c31\u53ef\u4ee5\u767b\u5f55\u8fdb\u6765\u4e86\uff0c\u8f93\u5165\u4f60\u7684\u5b9d\u5854\u8d26\u53f7\uff0c\u5c31\u53ef\u4ee5\u8fdb\u884c\u64cd\u4f5c\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/011.png\" alt=\"011\" \/><\/p>\n<p>\u9875\u9762\u662f\u8fd9\u4e2a\u6837\u5b50\u7684\uff0c\u5f00\u5fc3\u7684\u73a9\u800d\u5427\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2024\/05\/27\/013.png\" alt=\"013\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7fa4\u6656NAS\u6559\u7a0b(\u4e8c\u5341\u4e5d)\u3001\u5229\u7528Docker\u5b89\u88c5\u5b9d\u5854\u9762\u677f \u5e94\u5c0f\u4f19\u4f34\u8981\u6c42\uff0c\u4eca\u5929\u5229\u7528\u7fa4\u6656\u91cc\u7684docker\u5b89\u88c5\u4e00\u4e0b\u5b9d\u5854 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-763","post","type-post","status-publish","format-standard","hentry","category-nas-docker"],"_links":{"self":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/763","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=763"}],"version-history":[{"count":1,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":764,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=\/wp\/v2\/posts\/763\/revisions\/764"}],"wp:attachment":[{"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huerpu.cc:7000\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}