{"id":52754,"date":"2025-08-11T18:44:15","date_gmt":"2025-08-11T10:44:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/52754.html"},"modified":"2025-08-11T18:44:15","modified_gmt":"2025-08-11T10:44:15","slug":"openeuler%e3%80%81-centos%e3%80%81ubuntu%e7%ad%89-linux-%e7%b3%bb%e7%bb%9f%e4%b8%ad%ef%bc%8cdocker-%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4%e6%80%bb%e7%bb%93","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/52754.html","title":{"rendered":"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3"},"content":{"rendered":"<p>\u5728 openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d&#xff0c;Docker \u5e38\u7528\u547d\u4ee4\u53ef\u6309\u529f\u80fd\u5206\u4e3a\u00a0\u5bb9\u5668\u7ba1\u7406\u3001\u955c\u50cf\u7ba1\u7406\u3001\u7f51\u7edc\u7ba1\u7406\u3001\u6570\u636e\u5377\u7ba1\u7406\u00a0\u7b49\u7c7b\u522b&#xff0c;\u4ee5\u4e0b\u662f\u9ad8\u9891\u4f7f\u7528\u7684\u547d\u4ee4\u603b\u7ed3&#xff1a;<\/p>\n<h4>\u4e00\u3001Docker \u670d\u52a1\u57fa\u7840\u64cd\u4f5c<\/h4>\n<p># \u542f\u52a8 Docker \u670d\u52a1<br \/>\nsystemctl start docker<\/p>\n<p># \u505c\u6b62 Docker \u670d\u52a1<br \/>\nsystemctl stop docker<\/p>\n<p># \u91cd\u542f Docker \u670d\u52a1<br \/>\nsystemctl restart docker<\/p>\n<p># \u67e5\u770b Docker \u670d\u52a1\u72b6\u6001<br \/>\nsystemctl status docker<\/p>\n<p># \u8bbe\u7f6e Docker \u5f00\u673a\u81ea\u542f\u52a8<br \/>\nsystemctl enable docker<\/p>\n<p># \u5173\u95ed Docker \u5f00\u673a\u81ea\u542f\u52a8<br \/>\nsystemctl disable docker<\/p>\n<p># \u67e5\u770b Docker \u7248\u672c\u4fe1\u606f<br \/>\ndocker version<br \/>\ndocker info  # \u8be6\u7ec6\u4fe1\u606f&#xff08;\u5305\u62ec\u955c\u50cf\u3001\u5bb9\u5668\u6570\u91cf\u7b49&#xff09;<\/p>\n<h4>\u4e8c\u3001\u5bb9\u5668\u7ba1\u7406<\/h4>\n<h5>1. \u67e5\u770b\u5bb9\u5668<\/h5>\n<p># \u67e5\u770b\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668<br \/>\ndocker ps<\/p>\n<p># \u67e5\u770b\u6240\u6709\u5bb9\u5668&#xff08;\u5305\u62ec\u5df2\u505c\u6b62\u7684&#xff09;<br \/>\ndocker ps -a<\/p>\n<p># \u67e5\u770b\u5bb9\u5668\u7b80\u6d01\u4fe1\u606f&#xff08;\u4ec5 ID \u548c\u540d\u79f0&#xff09;<br \/>\ndocker ps -aq<\/p>\n<h5>2. \u521b\u5efa\u5e76\u542f\u52a8\u5bb9\u5668<\/h5>\n<p># \u57fa\u4e8e\u955c\u50cf\u521b\u5efa\u5e76\u542f\u52a8\u5bb9\u5668&#xff08;\u524d\u53f0\u8fd0\u884c&#xff0c;\u9000\u51fa\u7ec8\u7aef\u5219\u5bb9\u5668\u505c\u6b62&#xff09;<br \/>\ndocker run [\u9009\u9879] \u955c\u50cf\u540d [\u5bb9\u5668\u5185\u547d\u4ee4]<\/p>\n<p># \u5e38\u7528\u9009\u9879&#xff1a;<br \/>\n# -d&#xff1a;\u540e\u53f0\u8fd0\u884c&#xff08;\u5b88\u62a4\u6a21\u5f0f&#xff09;<br \/>\n# -p \u4e3b\u673a\u7aef\u53e3:\u5bb9\u5668\u7aef\u53e3&#xff1a;\u7aef\u53e3\u6620\u5c04&#xff08;\u5982 -p 8080:80&#xff09;<br \/>\n# -v \u4e3b\u673a\u76ee\u5f55:\u5bb9\u5668\u76ee\u5f55&#xff1a;\u6302\u8f7d\u6570\u636e\u5377&#xff08;\u6301\u4e45\u5316\u6570\u636e&#xff09;<br \/>\n# &#8211;name \u5bb9\u5668\u540d&#xff1a;\u6307\u5b9a\u5bb9\u5668\u540d\u79f0<br \/>\n# &#8211;restart&#061;always&#xff1a;\u5bb9\u5668\u968f Docker \u670d\u52a1\u81ea\u542f\u52a8<br \/>\n# -it&#xff1a;\u4ea4\u4e92\u5f0f\u8fd0\u884c&#xff08;\u8fdb\u5165\u5bb9\u5668\u7ec8\u7aef&#xff09;<\/p>\n<p># \u793a\u4f8b&#xff1a;\u540e\u53f0\u542f\u52a8 Nginx&#xff0c;\u6620\u5c04 80 \u7aef\u53e3&#xff0c;\u547d\u540d\u4e3a my-nginx<br \/>\ndocker run -d -p 80:80 &#8211;name my-nginx nginx<\/p>\n<p># \u793a\u4f8b&#xff1a;\u4ea4\u4e92\u5f0f\u542f\u52a8 CentOS \u5bb9\u5668&#xff08;\u8fdb\u5165\u7ec8\u7aef&#xff09;<br \/>\ndocker run -it &#8211;name my-centos centos \/bin\/bash<\/p>\n<h5>3. \u542f\u52a8 \/ \u505c\u6b62 \/ \u91cd\u542f\u5bb9\u5668<\/h5>\n<p># \u542f\u52a8\u5df2\u5b58\u5728\u7684\u5bb9\u5668<br \/>\ndocker start \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u505c\u6b62\u8fd0\u884c\u4e2d\u7684\u5bb9\u5668<br \/>\ndocker stop \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u5f3a\u5236\u505c\u6b62\u5bb9\u5668&#xff08;\u7c7b\u4f3c\u65ad\u7535&#xff0c;\u4e0d\u63a8\u8350&#xff09;<br \/>\ndocker kill \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u91cd\u542f\u5bb9\u5668<br \/>\ndocker restart \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<h5>4. \u8fdb\u5165\u5bb9\u5668<\/h5>\n<p># \u8fdb\u5165\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668&#xff08;\u4ea4\u4e92\u5f0f\u7ec8\u7aef&#xff0c;\u9000\u51fa\u540e\u5bb9\u5668\u7ee7\u7eed\u8fd0\u884c&#xff09;<br \/>\ndocker exec -it \u5bb9\u5668ID\/\u540d\u79f0 \/bin\/bash  # \u9002\u7528\u4e8e\u5927\u591a\u6570 Linux \u5bb9\u5668<br \/>\ndocker exec -it \u5bb9\u5668ID\/\u540d\u79f0 sh          # \u82e5\u5bb9\u5668\u65e0 bash&#xff0c;\u7528 sh<\/p>\n<p># \u793a\u4f8b&#xff1a;\u8fdb\u5165 my-nginx \u5bb9\u5668<br \/>\ndocker exec -it my-nginx \/bin\/bash<\/p>\n<h5>5. \u5220\u9664\u5bb9\u5668<\/h5>\n<p># \u5220\u9664\u5df2\u505c\u6b62\u7684\u5bb9\u5668<br \/>\ndocker rm \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u5f3a\u5236\u5220\u9664\u6b63\u5728\u8fd0\u884c\u7684\u5bb9\u5668&#xff08;\u4f1a\u5148\u505c\u6b62&#xff09;<br \/>\ndocker rm -f \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u5220\u9664\u6240\u6709\u5df2\u505c\u6b62\u7684\u5bb9\u5668<br \/>\ndocker rm $(docker ps -aq)<\/p>\n<h5>6. \u5bb9\u5668\u65e5\u5fd7\u4e0e\u4fe1\u606f<\/h5>\n<p># \u67e5\u770b\u5bb9\u5668\u65e5\u5fd7&#xff08;\u5b9e\u65f6\u8f93\u51fa&#xff0c;\u6309 Ctrl&#043;C \u9000\u51fa&#xff09;<br \/>\ndocker logs -f \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u67e5\u770b\u5bb9\u5668\u8be6\u7ec6\u4fe1\u606f&#xff08;\u914d\u7f6e\u3001\u7f51\u7edc\u7b49&#xff09;<br \/>\ndocker inspect \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<p># \u67e5\u770b\u5bb9\u5668\u8d44\u6e90\u5360\u7528&#xff08;CPU\u3001\u5185\u5b58\u7b49&#xff09;<br \/>\ndocker stats \u5bb9\u5668ID\/\u540d\u79f0<\/p>\n<h4>\u4e09\u3001\u955c\u50cf\u7ba1\u7406<\/h4>\n<h5>1. \u67e5\u770b\u955c\u50cf<\/h5>\n<p># \u67e5\u770b\u672c\u5730\u6240\u6709\u955c\u50cf<br \/>\ndocker images<br \/>\ndocker image ls<\/p>\n<p># \u67e5\u770b\u955c\u50cf\u8be6\u7ec6\u4fe1\u606f<br \/>\ndocker inspect \u955c\u50cfID\/\u540d\u79f0:\u6807\u7b7e<\/p>\n<h5>2. \u62c9\u53d6\u955c\u50cf<\/h5>\n<p># \u4ece\u955c\u50cf\u4ed3\u5e93\u62c9\u53d6\u955c\u50cf&#xff08;\u9ed8\u8ba4 Docker Hub&#xff09;<br \/>\ndocker pull \u955c\u50cf\u540d:\u6807\u7b7e  # \u6807\u7b7e\u53ef\u9009&#xff0c;\u9ed8\u8ba4 latest<\/p>\n<p># \u793a\u4f8b&#xff1a;\u62c9\u53d6 Nginx \u6700\u65b0\u7248\u955c\u50cf<br \/>\ndocker pull nginx<\/p>\n<p># \u793a\u4f8b&#xff1a;\u62c9\u53d6\u6307\u5b9a\u7248\u672c\u7684 CentOS \u955c\u50cf<br \/>\ndocker pull centos:7<\/p>\n<h5>3. \u6784\u5efa\u955c\u50cf<\/h5>\n<p># \u57fa\u4e8e Dockerfile \u6784\u5efa\u955c\u50cf&#xff08;-t \u6307\u5b9a\u540d\u79f0\u548c\u6807\u7b7e&#xff09;<br \/>\ndocker build -t \u955c\u50cf\u540d:\u6807\u7b7e \u6784\u5efa\u76ee\u5f55<\/p>\n<p># \u793a\u4f8b&#xff1a;\u5728\u5f53\u524d\u76ee\u5f55\u6784\u5efa\u540d\u4e3a my-app:v1 \u7684\u955c\u50cf<br \/>\ndocker build -t my-app:v1 .<\/p>\n<h5>4. \u5220\u9664\u955c\u50cf<\/h5>\n<p># \u5220\u9664\u672c\u5730\u955c\u50cf&#xff08;\u9700\u5148\u5220\u9664\u4f9d\u8d56\u8be5\u955c\u50cf\u7684\u5bb9\u5668&#xff09;<br \/>\ndocker rmi \u955c\u50cfID\/\u540d\u79f0:\u6807\u7b7e<\/p>\n<p># \u5f3a\u5236\u5220\u9664\u955c\u50cf&#xff08;\u5373\u4f7f\u6709\u5bb9\u5668\u4f9d\u8d56&#xff0c;\u4e0d\u63a8\u8350&#xff09;<br \/>\ndocker rmi -f \u955c\u50cfID\/\u540d\u79f0:\u6807\u7b7e<\/p>\n<p># \u5220\u9664\u6240\u6709\u672a\u4f7f\u7528\u7684\u955c\u50cf&#xff08;\u8c28\u614e\u64cd\u4f5c&#xff09;<br \/>\ndocker image prune -a<\/p>\n<h5>5. \u955c\u50cf\u5bfc\u51fa\u4e0e\u5bfc\u5165<\/h5>\n<p># \u5bfc\u51fa\u955c\u50cf\u4e3a\u672c\u5730\u6587\u4ef6&#xff08;.tar \u683c\u5f0f&#xff09;<br \/>\ndocker save -o \u6587\u4ef6\u540d.tar \u955c\u50cfID\/\u540d\u79f0:\u6807\u7b7e<\/p>\n<p># \u5bfc\u5165\u672c\u5730\u955c\u50cf\u6587\u4ef6<br \/>\ndocker load -i \u6587\u4ef6\u540d.tar<\/p>\n<h4>\u56db\u3001\u7f51\u7edc\u7ba1\u7406<\/h4>\n<p># \u67e5\u770b Docker \u7f51\u7edc<br \/>\ndocker network ls<\/p>\n<p># \u521b\u5efa\u81ea\u5b9a\u4e49\u7f51\u7edc&#xff08;\u63a8\u8350\u4f7f\u7528 bridge \u6a21\u5f0f&#xff09;<br \/>\ndocker network create &#8211;driver bridge \u7f51\u7edc\u540d<\/p>\n<p># \u67e5\u770b\u7f51\u7edc\u8be6\u7ec6\u4fe1\u606f<br \/>\ndocker network inspect \u7f51\u7edc\u540d<\/p>\n<p># \u5c06\u5bb9\u5668\u8fde\u63a5\u5230\u7f51\u7edc&#xff08;\u5bb9\u5668\u53ef\u901a\u8fc7\u540d\u79f0\u4e92\u8bbf&#xff09;<br \/>\ndocker network connect \u7f51\u7edc\u540d \u5bb9\u5668\u540d<\/p>\n<p># \u5c06\u5bb9\u5668\u4ece\u7f51\u7edc\u65ad\u5f00<br \/>\ndocker network disconnect \u7f51\u7edc\u540d \u5bb9\u5668\u540d<\/p>\n<p># \u5220\u9664\u7f51\u7edc&#xff08;\u9700\u5148\u65ad\u5f00\u6240\u6709\u5bb9\u5668\u8fde\u63a5&#xff09;<br \/>\ndocker network rm \u7f51\u7edc\u540d<\/p>\n<h4>\u4e94\u3001\u6570\u636e\u5377\u7ba1\u7406&#xff08;\u6301\u4e45\u5316\u6570\u636e&#xff09;<\/h4>\n<p># \u67e5\u770b\u6570\u636e\u5377<br \/>\ndocker volume ls<\/p>\n<p># \u521b\u5efa\u6570\u636e\u5377<br \/>\ndocker volume create \u5377\u540d<\/p>\n<p># \u67e5\u770b\u6570\u636e\u5377\u8be6\u7ec6\u4fe1\u606f&#xff08;\u5305\u62ec\u4e3b\u673a\u6302\u8f7d\u8def\u5f84&#xff09;<br \/>\ndocker volume inspect \u5377\u540d<\/p>\n<p># \u5220\u9664\u6570\u636e\u5377&#xff08;\u9700\u5148\u65ad\u5f00\u5173\u8054\u5bb9\u5668&#xff09;<br \/>\ndocker volume rm \u5377\u540d<\/p>\n<p># \u5220\u9664\u6240\u6709\u672a\u4f7f\u7528\u7684\u6570\u636e\u5377<br \/>\ndocker volume prune<\/p>\n<h4>\u516d\u3001\u5176\u4ed6\u5e38\u7528\u547d\u4ee4<\/h4>\n<p># \u6e05\u7406 Docker \u7f13\u5b58&#xff08;\u672a\u4f7f\u7528\u7684\u5bb9\u5668\u3001\u955c\u50cf\u3001\u7f51\u7edc\u3001\u5377&#xff09;<br \/>\ndocker system prune -a  # -a \u8868\u793a\u5220\u9664\u6240\u6709\u672a\u4f7f\u7528\u8d44\u6e90&#xff08;\u8c28\u614e\u64cd\u4f5c&#xff09;<\/p>\n<p># \u67e5\u770b Docker \u78c1\u76d8\u5360\u7528<br \/>\ndocker system df<\/p>\n<p>\u4ee5\u4e0a\u547d\u4ee4\u8986\u76d6\u4e86 Docker \u65e5\u5e38\u4f7f\u7528\u7684\u6838\u5fc3\u573a\u666f&#xff0c;\u5728 openEuler \u7cfb\u7edf\u4e2d\u4e0e\u5176\u4ed6 Linux \u53d1\u884c\u7248&#xff08;\u5982 CentOS\u3001Ubuntu&#xff09;\u5b8c\u5168\u517c\u5bb9&#xff0c;\u53ef\u6839\u636e\u5b9e\u9645\u9700\u6c42\u7075\u6d3b\u7ec4\u5408\u4f7f\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb117\u6b21\u3002\u5728 openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u53ef\u6309\u529f\u80fd\u5206\u4e3a\u3002<\/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":[247,1276,59,58,103,5313],"topic":[],"class_list":{"0":"post-52754","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-ai","9":"tag-centos","10":"tag-linux","11":"tag-ubuntu","12":"tag-openeuler"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3 - \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\/52754.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb117\u6b21\u3002\u5728 openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u53ef\u6309\u529f\u80fd\u5206\u4e3a\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/52754.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-11T10:44:15+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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/52754.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/52754.html\",\"name\":\"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-11T10:44:15+00:00\",\"dateModified\":\"2025-08-11T10:44:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/52754.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/52754.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/52754.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3\"}]},{\"@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":"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3 - \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\/52754.html","og_locale":"zh_CN","og_type":"article","og_title":"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb117\u6b21\u3002\u5728 openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u53ef\u6309\u529f\u80fd\u5206\u4e3a\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/52754.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-11T10:44:15+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/52754.html","url":"https:\/\/www.wsisp.com\/helps\/52754.html","name":"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-11T10:44:15+00:00","dateModified":"2025-08-11T10:44:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/52754.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/52754.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/52754.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"openEuler\u3001 CentOS\u3001Ubuntu\u7b49 Linux \u7cfb\u7edf\u4e2d\uff0cDocker \u5e38\u7528\u547d\u4ee4\u603b\u7ed3"}]},{"@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\/52754","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=52754"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/52754\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=52754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=52754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=52754"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=52754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}