{"id":71076,"date":"2026-02-03T03:33:00","date_gmt":"2026-02-02T19:33:00","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/71076.html"},"modified":"2026-02-03T03:33:00","modified_gmt":"2026-02-02T19:33:00","slug":"docker%e5%ae%b9%e5%99%a8%e8%b7%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%81%e7%a7%bb%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/71076.html","title":{"rendered":"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848"},"content":{"rendered":"<h2>Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848<\/h2>\n<h2>\u4e00\u3001\u65b9\u6848\u6982\u8ff0<\/h2>\n<p>\u672c\u65b9\u6848\u7528\u4e8e\u5b9e\u73b0Docker\u5bb9\u5668\u4ece\u4e00\u53f0\u6e90\u670d\u52a1\u5668&#xff08;\u65e7\u670d\u52a1\u5668&#xff09;\u8fc1\u79fb\u81f3\u53e6\u4e00\u53f0\u76ee\u6807\u670d\u52a1\u5668&#xff08;\u65b0\u670d\u52a1\u5668&#xff09;&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u4fdd\u8bc1\u5bb9\u5668\u8fc1\u79fb\u540e\u53ef\u6b63\u5e38\u8fd0\u884c\u3001\u6570\u636e\u4e0d\u4e22\u5931\u3001\u914d\u7f6e\u4e0e\u8fc1\u79fb\u524d\u4e00\u81f4\u3002\u8fc1\u79fb\u6838\u5fc3\u6d41\u7a0b\u5305\u62ec&#xff1a;\u5bb9\u5668\u955c\u50cf\u4fdd\u5b58\u4e0e\u5bfc\u51fa\u3001\u6570\u636e\u5377&#xff08;\u82e5\u6709&#xff09;\u5bfc\u51fa\u3001\u6587\u4ef6\u8de8\u670d\u52a1\u5668\u4f20\u8f93\u3001\u76ee\u6807\u670d\u52a1\u5668\u955c\u50cf\u4e0e\u6570\u636e\u5377\u5bfc\u5165\u3001\u5bb9\u5668\u91cd\u65b0\u542f\u52a8&#xff0c;\u5168\u7a0b\u57fa\u4e8eDocker\u539f\u751f\u547d\u4ee4\u64cd\u4f5c&#xff0c;\u65e0\u9700\u989d\u5916\u90e8\u7f72\u8fc1\u79fb\u5de5\u5177&#xff0c;\u517c\u987e\u7b80\u6d01\u6027\u4e0e\u53ef\u9760\u6027\u3002<\/p>\n<h2>\u4e8c\u3001\u8fc1\u79fb\u51c6\u5907<\/h2>\n<h3>2.1 \u73af\u5883\u8981\u6c42<\/h3>\n<ul>\n<li>\n<p>\u6e90\u670d\u52a1\u5668&#xff1a;\u5df2\u90e8\u7f72Docker\u670d\u52a1&#xff0c;\u5bb9\u5668\u5904\u4e8e\u6b63\u5e38\u8fd0\u884c\u6216\u53ef\u505c\u6b62\u72b6\u6001&#xff0c;\u5177\u5907\u5bb9\u5668\u64cd\u4f5c\u6743\u9650&#xff08;root\u6216sudo\u6743\u9650&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u76ee\u6807\u670d\u52a1\u5668&#xff1a;\u5df2\u90e8\u7f72Docker\u670d\u52a1&#xff08;\u7248\u672c\u5efa\u8bae\u4e0e\u6e90\u670d\u52a1\u5668\u4e00\u81f4&#xff0c;\u907f\u514d\u955c\u50cf\u517c\u5bb9\u6027\u95ee\u9898&#xff09;&#xff0c;\u5177\u5907\u6587\u4ef6\u63a5\u6536\u3001Docker\u64cd\u4f5c\u6743\u9650&#xff0c;\u4e0e\u6e90\u670d\u52a1\u5668\u7f51\u7edc\u4e92\u901a&#xff08;\u53ef\u901a\u8fc7SSH\u3001SCP\u7b49\u5de5\u5177\u4f20\u8f93\u6587\u4ef6&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f20\u8f93\u5de5\u5177&#xff1a;\u9ed8\u8ba4\u4f7f\u7528SCP&#xff08;\u57fa\u4e8eSSH\u534f\u8bae&#xff09;&#xff0c;\u786e\u4fdd\u6e90\u670d\u52a1\u5668\u53ef\u901a\u8fc7SSH\u8fde\u63a5\u76ee\u6807\u670d\u52a1\u5668&#xff0c;\u82e5\u7f51\u7edc\u53d7\u9650&#xff0c;\u53ef\u66ff\u6362\u4e3aFTP\u3001\u5171\u4eab\u5b58\u50a8\u7b49\u5176\u4ed6\u6587\u4ef6\u4f20\u8f93\u65b9\u5f0f\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>2.2 \u524d\u7f6e\u68c0\u67e5<\/h3>\n<ul>\n<li>\n<p>\u68c0\u67e5\u6e90\u670d\u52a1\u5668\u5bb9\u5668\u72b6\u6001&#xff1a;\u786e\u8ba4\u9700\u8fc1\u79fb\u7684\u5bb9\u5668\u540d\u79f0\/ID\u3001\u8fd0\u884c\u72b6\u6001&#xff0c;\u8bb0\u5f55\u5bb9\u5668\u6302\u8f7d\u7684\u6570\u636e\u5377\u8def\u5f84&#xff08;\u82e5\u6709&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u76ee\u6807\u670d\u52a1\u5668\u8d44\u6e90&#xff1a;\u786e\u8ba4\u76ee\u6807\u670d\u52a1\u5668\u78c1\u76d8\u7a7a\u95f4\u5145\u8db3&#xff08;\u9700\u5927\u4e8e\u955c\u50cf&#043;\u6570\u636e\u5377\u603b\u5927\u5c0f&#xff09;\u3001Docker\u670d\u52a1\u6b63\u5e38\u8fd0\u884c&#xff08;systemctl status docker&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u5907\u4efd&#xff1a;\u8fc1\u79fb\u524d\u5efa\u8bae\u5bf9\u6e90\u670d\u52a1\u5668\u5bb9\u5668\u6570\u636e\u3001\u955c\u50cf\u8fdb\u884c\u5907\u4efd&#xff0c;\u907f\u514d\u8fc1\u79fb\u8fc7\u7a0b\u4e2d\u6570\u636e\u4e22\u5931&#xff08;\u53ef\u989d\u5916\u6267\u884c\u955c\u50cf\u4fdd\u5b58\u3001\u6570\u636e\u5377\u590d\u5236\u64cd\u4f5c&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u4e09\u3001\u8be6\u7ec6\u8fc1\u79fb\u6b65\u9aa4<\/h2>\n<p>\u672c\u6b65\u9aa4\u4ee5\u201c\u6e90\u670d\u52a1\u5668&#xff08;\u65e7\u670d\u52a1\u5668&#xff09;\u64cd\u4f5c\u2192\u6587\u4ef6\u4f20\u8f93\u2192\u76ee\u6807\u670d\u52a1\u5668&#xff08;\u65b0\u670d\u52a1\u5668&#xff09;\u64cd\u4f5c\u201d\u4e3a\u987a\u5e8f&#xff0c;\u6240\u6709\u547d\u4ee4\u5747\u57fa\u4e8eroot\u6743\u9650\u6267\u884c&#xff0c;\u82e5\u4f7f\u7528\u666e\u901a\u7528\u6237&#xff0c;\u9700\u6dfb\u52a0sudo\u524d\u7f00\u3002<\/p>\n<h3>3.1 \u6e90\u670d\u52a1\u5668\u64cd\u4f5c&#xff1a;\u955c\u50cf\u4e0e\u6570\u636e\u5377\u5904\u7406<\/h3>\n<h4>3.1.1 \u4fdd\u5b58\u5bb9\u5668\u4e3a\u955c\u50cf<\/h4>\n<p>\u82e5\u9700\u8fc1\u79fb\u7684\u5bb9\u5668\u5df2\u5b58\u5728\u5bf9\u5e94\u955c\u50cf&#xff0c;\u53ef\u8df3\u8fc7\u6b64\u6b65\u9aa4&#xff1b;\u82e5\u4ec5\u5b58\u5728\u5bb9\u5668&#xff08;\u65e0\u81ea\u5b9a\u4e49\u955c\u50cf&#xff09;&#xff0c;\u9700\u5c06\u5bb9\u5668\u63d0\u4ea4\u4e3a\u955c\u50cf&#xff0c;\u786e\u4fdd\u8fc1\u79fb\u540e\u53ef\u57fa\u4e8e\u955c\u50cf\u91cd\u65b0\u542f\u52a8\u5bb9\u5668\u3002<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd5&#xff1a;docker commit \u5bb9\u5668\u540d\u79f0\/ID \u955c\u50cf\u540d\u79f0:\u6807\u7b7e<\/span><br \/>\n<span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u5c06\u5bb9\u5668my_container\u63d0\u4ea4\u4e3a\u955c\u50cfmy_image&#xff0c;\u6807\u7b7e\u4e3alatest<\/span><br \/>\n<span class=\"token function\">docker<\/span> commit my_container my_image:latest<\/p>\n<p>\u6ce8\u610f&#xff1a;\u63d0\u4ea4\u955c\u50cf\u65f6&#xff0c;\u5bb9\u5668\u53ef\u6b63\u5e38\u8fd0\u884c\u6216\u5df2\u505c\u6b62&#xff0c;\u5efa\u8bae\u505c\u6b62\u5bb9\u5668\u540e\u63d0\u4ea4&#xff08;docker stop my_container&#xff09;&#xff0c;\u907f\u514d\u6570\u636e\u4e0d\u4e00\u81f4\u3002<\/p>\n<h4>3.1.2 \u5bfc\u51fa\u955c\u50cf\u4e3atar\u6587\u4ef6<\/h4>\n<p>\u5c06\u4e0a\u4e00\u6b65\u4fdd\u5b58\u7684\u955c\u50cf\u5bfc\u51fa\u4e3atar\u538b\u7f29\u6587\u4ef6&#xff0c;\u4fbf\u4e8e\u8de8\u670d\u52a1\u5668\u4f20\u8f93&#xff08;tar\u6587\u4ef6\u53ef\u81ea\u5b9a\u4e49\u547d\u540d\u548c\u5b58\u50a8\u8def\u5f84&#xff09;\u3002<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd5&#xff1a;docker save -o \u5bfc\u51fa\u8def\u5f84\/\u955c\u50cf\u6587\u4ef6\u540d.tar \u955c\u50cf\u540d\u79f0:\u6807\u7b7e<\/span><br \/>\n<span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u5c06my_image:latest\u5bfc\u51fa\u4e3a\u5f53\u524d\u76ee\u5f55\u4e0b\u7684my_image.tar<\/span><br \/>\n<span class=\"token function\">docker<\/span> save -o my_image.tar my_image:latest<\/p>\n<h4>3.1.3 \u5bfc\u51fa\u6570\u636e\u5377&#xff08;\u82e5\u5bb9\u5668\u6302\u8f7d\u6570\u636e\u5377&#xff09;<\/h4>\n<p>\u82e5\u5bb9\u5668\u6302\u8f7d\u4e86\u6570\u636e\u5377&#xff08;\u7528\u4e8e\u6301\u4e45\u5316\u6570\u636e&#xff0c;\u5982\u6570\u636e\u5e93\u6570\u636e\u3001\u914d\u7f6e\u6587\u4ef6\u7b49&#xff09;&#xff0c;\u9700\u5c06\u6570\u636e\u5377\u5185\u5bb9\u5bfc\u51fa\u81f3\u6e90\u670d\u52a1\u5668\u672c\u5730\u6587\u4ef6\u7cfb\u7edf&#xff0c;\u907f\u514d\u8fc1\u79fb\u540e\u6570\u636e\u4e22\u5931\u3002<\/p>\n<p><span class=\"token comment\"># \u6b65\u9aa41&#xff1a;\u67e5\u627e\u5bb9\u5668\u6302\u8f7d\u7684\u6570\u636e\u5377\u8def\u5f84&#xff08;\u5bb9\u5668\u5185\u8def\u5f84&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> inspect my_container <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> -i mountpoint<\/p>\n<p><span class=\"token comment\"># \u6b65\u9aa42&#xff1a;\u5c06\u5bb9\u5668\u5185\u7684\u6570\u636e\u5377\u590d\u5236\u5230\u6e90\u670d\u52a1\u5668\u672c\u5730\u8def\u5f84<\/span><br \/>\n<span class=\"token comment\"># \u8bed\u6cd5&#xff1a;docker cp \u5bb9\u5668\u540d\u79f0\/ID:\u5bb9\u5668\u5185\u6570\u636e\u5377\u8def\u5f84 \u6e90\u670d\u52a1\u5668\u672c\u5730\u5b58\u50a8\u8def\u5f84<\/span><br \/>\n<span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u5c06my_container\u5185\u7684\/data\u8def\u5f84&#xff08;\u6570\u636e\u5377&#xff09;\u590d\u5236\u5230\u672c\u5730\/root\/local_data\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">cp<\/span> my_container:\/data \/root\/local_data<\/p>\n<p>\u6ce8\u610f&#xff1a;\u82e5\u6709\u591a\u4e2a\u6570\u636e\u5377&#xff0c;\u9700\u5206\u522b\u6267\u884c\u590d\u5236\u547d\u4ee4&#xff1b;\u590d\u5236\u5b8c\u6210\u540e&#xff0c;\u53ef\u68c0\u67e5\u672c\u5730\u8def\u5f84\u4e0b\u7684\u6587\u4ef6\u662f\u5426\u5b8c\u6574\u3002<\/p>\n<h3>3.2 \u6587\u4ef6\u8de8\u670d\u52a1\u5668\u4f20\u8f93<\/h3>\n<p>\u5c06\u6e90\u670d\u52a1\u5668\u5bfc\u51fa\u7684\u955c\u50cftar\u6587\u4ef6\u3001\u672c\u5730\u590d\u5236\u7684\u6570\u636e\u5377\u6587\u4ef6\u5939&#xff0c;\u901a\u8fc7SCP\u4f20\u8f93\u81f3\u76ee\u6807\u670d\u52a1\u5668\u6307\u5b9a\u76ee\u5f55\u3002\u4f20\u8f93\u524d\u9700\u786e\u8ba4\u76ee\u6807\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3001\u767b\u5f55\u7528\u6237\u540d\u53ca\u63a5\u6536\u8def\u5f84\u3002<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd51&#xff1a;\u4f20\u8f93\u955c\u50cftar\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">scp<\/span> \u6e90\u670d\u52a1\u5668\u955c\u50cf\u8def\u5f84\/\u955c\u50cf\u6587\u4ef6\u540d.tar \u76ee\u6807\u670d\u52a1\u5668\u7528\u6237\u540d&#064;\u76ee\u6807\u670d\u52a1\u5668IP:\u76ee\u6807\u670d\u52a1\u5668\u63a5\u6536\u8def\u5f84<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd52&#xff1a;\u4f20\u8f93\u6570\u636e\u5377\u6587\u4ef6\u5939&#xff08;\u9700\u52a0-r\u53c2\u6570&#xff0c;\u9012\u5f52\u4f20\u8f93\u6587\u4ef6\u5939&#xff09;<\/span><br \/>\n<span class=\"token function\">scp<\/span> -r \u6e90\u670d\u52a1\u5668\u6570\u636e\u5377\u672c\u5730\u8def\u5f84 \u76ee\u6807\u670d\u52a1\u5668\u7528\u6237\u540d&#064;\u76ee\u6807\u670d\u52a1\u5668IP:\u76ee\u6807\u670d\u52a1\u5668\u63a5\u6536\u8def\u5f84<\/p>\n<p><span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u5047\u8bbe\u76ee\u6807\u670d\u52a1\u5668IP\u4e3a192.168.1.100&#xff0c;\u7528\u6237\u540d\u4e3auser&#xff0c;\u63a5\u6536\u8def\u5f84\u4e3a\/root\/docker_migration<\/span><br \/>\n<span class=\"token function\">scp<\/span> my_image.tar user&#064;192.168.1.100:\/root\/docker_migration<br \/>\n<span class=\"token function\">scp<\/span> -r \/root\/local_data user&#064;192.168.1.100:\/root\/docker_migration<\/p>\n<p>\u8865\u5145&#xff1a;\u82e5\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u63d0\u793aSSH\u8fde\u63a5\u5931\u8d25&#xff0c;\u9700\u68c0\u67e5\u76ee\u6807\u670d\u52a1\u5668SSH\u670d\u52a1\u662f\u5426\u6b63\u5e38\u3001\u9632\u706b\u5899\u662f\u5426\u5f00\u653e22\u7aef\u53e3\u3001\u767b\u5f55\u5bc6\u7801\/\u5bc6\u94a5\u662f\u5426\u6b63\u786e\u3002<\/p>\n<h3>3.3 \u76ee\u6807\u670d\u52a1\u5668\u64cd\u4f5c&#xff1a;\u955c\u50cf\u4e0e\u6570\u636e\u5377\u5bfc\u5165\u53ca\u5bb9\u5668\u542f\u52a8<\/h3>\n<h4>3.3.1 \u5bfc\u5165\u955c\u50cf<\/h4>\n<p>\u767b\u5f55\u76ee\u6807\u670d\u52a1\u5668&#xff0c;\u5c06\u4f20\u8f93\u8fc7\u6765\u7684\u955c\u50cftar\u6587\u4ef6\u5bfc\u5165Docker&#xff0c;\u751f\u6210\u53ef\u7528\u4e8e\u542f\u52a8\u5bb9\u5668\u7684\u955c\u50cf\u3002<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd5&#xff1a;docker load -i \u76ee\u6807\u670d\u52a1\u5668\u955c\u50cftar\u6587\u4ef6\u8def\u5f84<\/span><br \/>\n<span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u5bfc\u5165\/root\/docker_migration\u76ee\u5f55\u4e0b\u7684my_image.tar<\/span><br \/>\n<span class=\"token function\">docker<\/span> load -i \/root\/docker_migration\/my_image.tar<\/p>\n<p>\u5bfc\u5165\u5b8c\u6210\u540e&#xff0c;\u53ef\u901a\u8fc7docker images\u547d\u4ee4\u68c0\u67e5\u955c\u50cf\u662f\u5426\u6210\u529f\u5bfc\u5165&#xff08;\u786e\u8ba4\u5b58\u5728my_image:latest&#xff09;\u3002<\/p>\n<h4>3.3.2 \u6062\u590d\u6570\u636e\u5377&#xff08;\u82e5\u6709&#xff09;<\/h4>\n<p>\u5c06\u4f20\u8f93\u81f3\u76ee\u6807\u670d\u52a1\u5668\u7684\u6570\u636e\u5377\u6587\u4ef6\u5939&#xff0c;\u590d\u5236\u5230\u5373\u5c06\u542f\u52a8\u7684\u65b0\u5bb9\u5668\u5bf9\u5e94\u7684\u8def\u5f84&#xff08;\u82e5\u65b0\u5bb9\u5668\u5c1a\u672a\u521b\u5efa&#xff0c;\u53ef\u5148\u6267\u884c\u5bb9\u5668\u542f\u52a8\u547d\u4ee4&#xff0c;\u518d\u6267\u884c\u590d\u5236\u64cd\u4f5c&#xff09;\u3002<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd5&#xff1a;docker cp \u76ee\u6807\u670d\u52a1\u5668\u6570\u636e\u5377\u8def\u5f84 \u65b0\u5bb9\u5668\u540d\u79f0\/ID:\u5bb9\u5668\u5185\u6570\u636e\u5377\u8def\u5f84<\/span><br \/>\n<span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u5148\u542f\u52a8\u4e34\u65f6\u5bb9\u5668&#xff08;\u82e5\u672a\u542f\u52a8&#xff09;&#xff0c;\u518d\u590d\u5236\u6570\u636e\u5377<\/span><br \/>\n<span class=\"token function\">docker<\/span> run -d &#8211;name new_container my_image:latest<br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">cp<\/span> \/root\/docker_migration\/local_data new_container:\/data<\/p>\n<h4>3.3.3 \u542f\u52a8\u5bb9\u5668\u5e76\u9a8c\u8bc1<\/h4>\n<p>\u57fa\u4e8e\u5bfc\u5165\u7684\u955c\u50cf\u542f\u52a8\u65b0\u5bb9\u5668&#xff0c;\u82e5\u6709\u6570\u636e\u5377&#xff0c;\u9700\u5728\u542f\u52a8\u65f6\u6302\u8f7d\u6570\u636e\u5377&#xff08;\u786e\u4fdd\u6570\u636e\u5377\u8def\u5f84\u4e0e\u6e90\u670d\u52a1\u5668\u4e00\u81f4&#xff0c;\u907f\u514d\u914d\u7f6e\u9519\u4e71&#xff09;&#xff0c;\u542f\u52a8\u540e\u9a8c\u8bc1\u5bb9\u5668\u8fd0\u884c\u72b6\u6001\u53ca\u6570\u636e\u5b8c\u6574\u6027\u3002<\/p>\n<p><span class=\"token comment\"># \u8bed\u6cd5&#xff1a;docker run -d &#8211;name \u65b0\u5bb9\u5668\u540d\u79f0 -v \u76ee\u6807\u670d\u52a1\u5668\u6570\u636e\u5377\u8def\u5f84:\u5bb9\u5668\u5185\u6570\u636e\u5377\u8def\u5f84 \u955c\u50cf\u540d\u79f0:\u6807\u7b7e<\/span><br \/>\n<span class=\"token comment\"># \u793a\u4f8b&#xff1a;\u542f\u52a8\u65b0\u5bb9\u5668new_container&#xff0c;\u6302\u8f7d\u6570\u636e\u5377&#xff0c;\u540e\u53f0\u8fd0\u884c<\/span><br \/>\n<span class=\"token function\">docker<\/span> run -d &#8211;name new_container -v \/root\/docker_migration\/local_data:\/data my_image:latest<\/p>\n<p><span class=\"token comment\"># \u9a8c\u8bc1\u5bb9\u5668\u72b6\u6001&#xff08;\u786e\u8ba4\u5bb9\u5668\u4e3aup\u72b6\u6001&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span><\/p>\n<p><span class=\"token comment\"># \u9a8c\u8bc1\u6570\u636e\u5b8c\u6574\u6027&#xff08;\u8fdb\u5165\u5bb9\u5668&#xff0c;\u68c0\u67e5\u6570\u636e\u662f\u5426\u4e0e\u6e90\u670d\u52a1\u5668\u4e00\u81f4&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> -it new_container \/bin\/bash<br \/>\n<span class=\"token function\">ls<\/span> \/data  <span class=\"token comment\"># \u67e5\u770b\u6570\u636e\u5377\u5185\u6587\u4ef6<\/span><\/p>\n<h2>\u56db\u3001\u5b8c\u6574\u8fc1\u79fb\u793a\u4f8b&#xff08;\u5b9e\u64cd\u53c2\u8003&#xff09;<\/h2>\n<p>\u5047\u8bbe\u573a\u666f&#xff1a;\u6e90\u670d\u52a1\u5668\u5bb9\u5668\u540d\u79f0my_container\u3001\u6570\u636e\u5377\u8def\u5f84\/data&#xff0c;\u955c\u50cf\u540d\u79f0my_image:latest&#xff1b;\u76ee\u6807\u670d\u52a1\u5668IP 192.168.1.100&#xff0c;\u767b\u5f55\u7528\u6237user&#xff0c;\u63a5\u6536\u8def\u5f84\/root\/docker_migration&#xff0c;\u65b0\u5bb9\u5668\u540d\u79f0new_container\u3002<\/p>\n<h3>4.1 \u6e90\u670d\u52a1\u5668\u547d\u4ee4&#xff08;\u6309\u987a\u5e8f\u6267\u884c&#xff09;<\/h3>\n<p><span class=\"token comment\"># 1. \u505c\u6b62\u5bb9\u5668&#xff08;\u53ef\u9009&#xff0c;\u5efa\u8bae\u6267\u884c&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> stop my_container<\/p>\n<p><span class=\"token comment\"># 2. \u63d0\u4ea4\u5bb9\u5668\u4e3a\u955c\u50cf<\/span><br \/>\n<span class=\"token function\">docker<\/span> commit my_container my_image:latest<\/p>\n<p><span class=\"token comment\"># 3. \u5bfc\u51fa\u955c\u50cf<\/span><br \/>\n<span class=\"token function\">docker<\/span> save -o my_image.tar my_image:latest<\/p>\n<p><span class=\"token comment\"># 4. \u5bfc\u51fa\u6570\u636e\u5377<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">cp<\/span> my_container:\/data \/root\/local_data<\/p>\n<p><span class=\"token comment\"># 5. \u4f20\u8f93\u6587\u4ef6\u81f3\u76ee\u6807\u670d\u52a1\u5668<\/span><br \/>\n<span class=\"token function\">scp<\/span> my_image.tar user&#064;192.168.1.100:\/root\/docker_migration<br \/>\n<span class=\"token function\">scp<\/span> -r \/root\/local_data user&#064;192.168.1.100:\/root\/docker_migration<\/p>\n<h3>4.2 \u76ee\u6807\u670d\u52a1\u5668\u547d\u4ee4&#xff08;\u6309\u987a\u5e8f\u6267\u884c&#xff09;<\/h3>\n<p><span class=\"token comment\"># 1. \u767b\u5f55\u76ee\u6807\u670d\u52a1\u5668&#xff08;\u82e5\u672a\u767b\u5f55&#xff09;<\/span><br \/>\n<span class=\"token function\">ssh<\/span> user&#064;192.168.1.100<\/p>\n<p><span class=\"token comment\"># 2. \u5bfc\u5165\u955c\u50cf<\/span><br \/>\n<span class=\"token function\">docker<\/span> load -i \/root\/docker_migration\/my_image.tar<\/p>\n<p><span class=\"token comment\"># 3. \u542f\u52a8\u65b0\u5bb9\u5668&#xff08;\u4e34\u65f6\u542f\u52a8&#xff0c;\u7528\u4e8e\u63a5\u6536\u6570\u636e\u5377&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> run -d &#8211;name new_container my_image:latest<\/p>\n<p><span class=\"token comment\"># 4. \u6062\u590d\u6570\u636e\u5377<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">cp<\/span> \/root\/docker_migration\/local_data new_container:\/data<\/p>\n<p><span class=\"token comment\"># 5. \u91cd\u542f\u5bb9\u5668&#xff08;\u786e\u4fdd\u6570\u636e\u5377\u751f\u6548&#xff09;<\/span><br \/>\n<span class=\"token function\">docker<\/span> restart new_container<\/p>\n<p><span class=\"token comment\"># 6. \u9a8c\u8bc1\u5bb9\u5668\u4e0e\u6570\u636e<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token function\">ps<\/span>  <span class=\"token comment\"># \u67e5\u770b\u5bb9\u5668\u72b6\u6001<\/span><br \/>\n<span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> -it new_container <span class=\"token function\">ls<\/span> \/data  <span class=\"token comment\"># \u67e5\u770b\u6570\u636e<\/span><\/p>\n<h2>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879<\/h2>\n<ul>\n<li>\n<p>\u955c\u50cf\u517c\u5bb9\u6027&#xff1a;\u76ee\u6807\u670d\u52a1\u5668Docker\u7248\u672c\u5efa\u8bae\u4e0e\u6e90\u670d\u52a1\u5668\u4e00\u81f4&#xff0c;\u82e5\u7248\u672c\u5dee\u5f02\u8f83\u5927&#xff0c;\u53ef\u80fd\u5bfc\u81f4\u955c\u50cf\u5bfc\u5165\u5931\u8d25\u6216\u5bb9\u5668\u65e0\u6cd5\u542f\u52a8&#xff0c;\u53ef\u5148\u5347\u7ea7\/\u964d\u7ea7Docker\u7248\u672c\u3002<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u4e00\u81f4\u6027&#xff1a;\u8fc1\u79fb\u524d\u5efa\u8bae\u505c\u6b62\u6e90\u670d\u52a1\u5668\u5bb9\u5668&#xff0c;\u907f\u514d\u4f20\u8f93\u6570\u636e\u65f6\u5bb9\u5668\u6b63\u5728\u5199\u5165\u6570\u636e&#xff0c;\u5bfc\u81f4\u6570\u636e\u4e22\u5931\u6216\u635f\u574f\u3002<\/p>\n<\/li>\n<li>\n<p>\u6743\u9650\u95ee\u9898&#xff1a;\u4f20\u8f93\u6587\u4ef6\u65f6&#xff0c;\u786e\u4fdd\u76ee\u6807\u670d\u52a1\u5668\u63a5\u6536\u8def\u5f84\u5177\u5907\u5199\u5165\u6743\u9650&#xff1b;\u5bfc\u5165\u955c\u50cf\u3001\u542f\u52a8\u5bb9\u5668\u65f6&#xff0c;\u9700\u5177\u5907Docker\u64cd\u4f5c\u6743\u9650&#xff08;root\u6216sudo&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u7aef\u53e3\u51b2\u7a81&#xff1a;\u82e5\u76ee\u6807\u670d\u52a1\u5668\u5df2\u5b58\u5728\u76f8\u540c\u7aef\u53e3\u7684\u5bb9\u5668&#xff0c;\u542f\u52a8\u65b0\u5bb9\u5668\u65f6\u9700\u4fee\u6539\u7aef\u53e3\u6620\u5c04&#xff08;\u6dfb\u52a0-p\u53c2\u6570&#xff0c;\u5982-p 8081:80&#xff09;&#xff0c;\u907f\u514d\u7aef\u53e3\u51b2\u7a81\u3002<\/p>\n<\/li>\n<li>\n<p>\u6e05\u7406\u6b8b\u7559&#xff1a;\u8fc1\u79fb\u5b8c\u6210\u5e76\u9a8c\u8bc1\u6210\u529f\u540e&#xff0c;\u53ef\u5220\u9664\u6e90\u670d\u52a1\u5668\u5bfc\u51fa\u7684tar\u6587\u4ef6\u3001\u672c\u5730\u6570\u636e\u5377\u526f\u672c&#xff0c;\u4ee5\u53ca\u76ee\u6807\u670d\u52a1\u5668\u7684\u4e34\u65f6\u4f20\u8f93\u6587\u4ef6&#xff0c;\u91ca\u653e\u78c1\u76d8\u7a7a\u95f4\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u516d\u3001\u5f02\u5e38\u5904\u7406<\/h2>\n<ul>\n<li>\n<p>\u955c\u50cf\u5bfc\u5165\u5931\u8d25&#xff1a;\u63d0\u793a\u201cno space left on device\u201d&#xff0c;\u9700\u6e05\u7406\u76ee\u6807\u670d\u52a1\u5668\u78c1\u76d8\u7a7a\u95f4&#xff1b;\u63d0\u793a\u201cinvalid reference format\u201d&#xff0c;\u68c0\u67e5\u955c\u50cftar\u6587\u4ef6\u662f\u5426\u5b8c\u6574&#xff0c;\u91cd\u65b0\u4f20\u8f93\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bb9\u5668\u542f\u52a8\u5931\u8d25&#xff1a;\u67e5\u770b\u5bb9\u5668\u65e5\u5fd7&#xff08;docker logs new_container&#xff09;&#xff0c;\u6392\u67e5\u662f\u5426\u4e3a\u6570\u636e\u5377\u8def\u5f84\u9519\u8bef\u3001\u914d\u7f6e\u6587\u4ef6\u7f3a\u5931\u3001\u7aef\u53e3\u51b2\u7a81\u7b49\u95ee\u9898&#xff0c;\u5bf9\u5e94\u8c03\u6574\u540e\u91cd\u65b0\u542f\u52a8\u3002<\/p>\n<\/li>\n<li>\n<p>\u6570\u636e\u4e22\u5931&#xff1a;\u786e\u8ba4\u6e90\u670d\u52a1\u5668\u6570\u636e\u5377\u5bfc\u51fa\u662f\u5426\u5b8c\u6574&#xff0c;\u91cd\u65b0\u6267\u884c\u6570\u636e\u5377\u5bfc\u51fa\u4e0e\u4f20\u8f93\u64cd\u4f5c&#xff0c;\u6062\u590d\u6570\u636e\u540e\u91cd\u542f\u5bb9\u5668\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848<br \/>\n\u4e00\u3001\u65b9\u6848\u6982\u8ff0<br \/>\n\u672c\u65b9\u6848\u7528\u4e8e\u5b9e\u73b0Docker\u5bb9\u5668\u4ece\u4e00\u53f0\u6e90\u670d\u52a1\u5668&#xff08;\u65e7\u670d\u52a1\u5668&#xff09;\u8fc1\u79fb\u81f3\u53e6\u4e00\u53f0\u76ee\u6807\u670d\u52a1\u5668&#xff08;\u65b0\u670d\u52a1\u5668&#xff09;&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u4fdd\u8bc1\u5bb9\u5668\u8fc1\u79fb\u540e\u53ef\u6b63\u5e38\u8fd0\u884c\u3001\u6570\u636e\u4e0d\u4e22\u5931\u3001\u914d\u7f6e\u4e0e\u8fc1\u79fb\u524d\u4e00\u81f4\u3002\u8fc1\u79fb\u6838\u5fc3\u6d41\u7a0b\u5305\u62ec&#xff1a;\u5bb9\u5668\u955c\u50cf\u4fdd\u5b58\u4e0e\u5bfc\u51fa\u3001\u6570\u636e\u5377&#xff08;\u82e5\u6709&#xff09;\u5bfc\u51fa\u3001\u6587\u4ef6\u8de8\u670d\u52a1\u5668\u4f20\u8f93\u3001\u76ee\u6807\u670d\u52a1\u5668\u955c\u50cf\u4e0e\u6570\u636e\u5377\u5bfc\u5165\u3001\u5bb9\u5668\u91cd\u65b0\u542f\u52a8&#xff0c;\u5168\u7a0b\u57fa\u4e8eDocker\u539f\u751f\u547d\u4ee4\u64cd<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,121,43],"topic":[],"class_list":["post-71076","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-121","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/71076.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 \u4e00\u3001\u65b9\u6848\u6982\u8ff0 \u672c\u65b9\u6848\u7528\u4e8e\u5b9e\u73b0Docker\u5bb9\u5668\u4ece\u4e00\u53f0\u6e90\u670d\u52a1\u5668&#xff08;\u65e7\u670d\u52a1\u5668&#xff09;\u8fc1\u79fb\u81f3\u53e6\u4e00\u53f0\u76ee\u6807\u670d\u52a1\u5668&#xff08;\u65b0\u670d\u52a1\u5668&#xff09;&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u4fdd\u8bc1\u5bb9\u5668\u8fc1\u79fb\u540e\u53ef\u6b63\u5e38\u8fd0\u884c\u3001\u6570\u636e\u4e0d\u4e22\u5931\u3001\u914d\u7f6e\u4e0e\u8fc1\u79fb\u524d\u4e00\u81f4\u3002\u8fc1\u79fb\u6838\u5fc3\u6d41\u7a0b\u5305\u62ec&#xff1a;\u5bb9\u5668\u955c\u50cf\u4fdd\u5b58\u4e0e\u5bfc\u51fa\u3001\u6570\u636e\u5377&#xff08;\u82e5\u6709&#xff09;\u5bfc\u51fa\u3001\u6587\u4ef6\u8de8\u670d\u52a1\u5668\u4f20\u8f93\u3001\u76ee\u6807\u670d\u52a1\u5668\u955c\u50cf\u4e0e\u6570\u636e\u5377\u5bfc\u5165\u3001\u5bb9\u5668\u91cd\u65b0\u542f\u52a8&#xff0c;\u5168\u7a0b\u57fa\u4e8eDocker\u539f\u751f\u547d\u4ee4\u64cd\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/71076.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-02T19:33:00+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71076.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/71076.html\",\"name\":\"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-02T19:33:00+00:00\",\"dateModified\":\"2026-02-02T19:33:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/71076.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/71076.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71076.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/71076.html","og_locale":"zh_CN","og_type":"article","og_title":"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 \u4e00\u3001\u65b9\u6848\u6982\u8ff0 \u672c\u65b9\u6848\u7528\u4e8e\u5b9e\u73b0Docker\u5bb9\u5668\u4ece\u4e00\u53f0\u6e90\u670d\u52a1\u5668&#xff08;\u65e7\u670d\u52a1\u5668&#xff09;\u8fc1\u79fb\u81f3\u53e6\u4e00\u53f0\u76ee\u6807\u670d\u52a1\u5668&#xff08;\u65b0\u670d\u52a1\u5668&#xff09;&#xff0c;\u6838\u5fc3\u76ee\u6807\u662f\u4fdd\u8bc1\u5bb9\u5668\u8fc1\u79fb\u540e\u53ef\u6b63\u5e38\u8fd0\u884c\u3001\u6570\u636e\u4e0d\u4e22\u5931\u3001\u914d\u7f6e\u4e0e\u8fc1\u79fb\u524d\u4e00\u81f4\u3002\u8fc1\u79fb\u6838\u5fc3\u6d41\u7a0b\u5305\u62ec&#xff1a;\u5bb9\u5668\u955c\u50cf\u4fdd\u5b58\u4e0e\u5bfc\u51fa\u3001\u6570\u636e\u5377&#xff08;\u82e5\u6709&#xff09;\u5bfc\u51fa\u3001\u6587\u4ef6\u8de8\u670d\u52a1\u5668\u4f20\u8f93\u3001\u76ee\u6807\u670d\u52a1\u5668\u955c\u50cf\u4e0e\u6570\u636e\u5377\u5bfc\u5165\u3001\u5bb9\u5668\u91cd\u65b0\u542f\u52a8&#xff0c;\u5168\u7a0b\u57fa\u4e8eDocker\u539f\u751f\u547d\u4ee4\u64cd","og_url":"https:\/\/www.wsisp.com\/helps\/71076.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-02T19:33:00+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/71076.html","url":"https:\/\/www.wsisp.com\/helps\/71076.html","name":"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-02T19:33:00+00:00","dateModified":"2026-02-02T19:33:00+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/71076.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/71076.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/71076.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Docker\u5bb9\u5668\u8de8\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=71076"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71076\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=71076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=71076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=71076"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=71076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}