{"id":194,"date":"2024-05-06T09:50:33","date_gmt":"2024-05-06T01:50:33","guid":{"rendered":"https:\/\/xieshuoshuo.top\/?p=194"},"modified":"2024-06-03T16:12:48","modified_gmt":"2024-06-03T08:12:48","slug":"docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos","status":"publish","type":"post","link":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/","title":{"rendered":"Docker\u5b89\u88c5\u4e4bCentOS"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u8b66\u544a\uff1a\u5207\u52ff\u5728\u6ca1\u6709\u914d\u7f6e Docker YUM \u6e90\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u4f7f\u7528 yum \u547d\u4ee4\u5b89\u88c5 Docker.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u51c6\u5907\u5de5\u4f5c\">\u51c6\u5907\u5de5\u4f5c<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u7cfb\u7edf\u8981\u6c42\">\u7cfb\u7edf\u8981\u6c42<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Docker \u652f\u6301 64 \u4f4d\u7248\u672c CentOS 7\/8\uff0c\u5e76\u4e14\u8981\u6c42\u5185\u6838\u7248\u672c\u4e0d\u4f4e\u4e8e 3.10\u3002 CentOS 7 \u6ee1\u8db3\u6700\u4f4e\u5185\u6838\u7684\u8981\u6c42\uff0c\u4f46\u7531\u4e8e\u5185\u6838\u7248\u672c\u6bd4\u8f83\u4f4e\uff0c\u90e8\u5206\u529f\u80fd\uff08\u5982&nbsp;<code>overlay2<\/code>&nbsp;\u5b58\u50a8\u5c42\u9a71\u52a8\uff09\u65e0\u6cd5\u4f7f\u7528\uff0c\u5e76\u4e14\u90e8\u5206\u529f\u80fd\u53ef\u80fd\u4e0d\u592a\u7a33\u5b9a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u5378\u8f7d\u65e7\u7248\u672c\">\u5378\u8f7d\u65e7\u7248\u672c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e7\u7248\u672c\u7684 Docker \u79f0\u4e3a&nbsp;<code>docker<\/code>&nbsp;\u6216\u8005&nbsp;<code>docker-engine<\/code>\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5378\u8f7d\u65e7\u7248\u672c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo yum remove docker \\\n                  docker-client \\\n                  docker-client-latest \\\n                  docker-common \\\n                  docker-latest \\\n                  docker-latest-logrotate \\\n                  docker-logrotate \\\n                  docker-selinux \\\n                  docker-engine-selinux \\\n                  docker-engine\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4f7f\u7528-yum-\u5b89\u88c5\">\u4f7f\u7528 yum \u5b89\u88c5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u4f9d\u8d56\u5305\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo yum install -y yum-utils\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9274\u4e8e\u56fd\u5185\u7f51\u7edc\u95ee\u9898\uff0c\u5f3a\u70c8\u5efa\u8bae\u4f7f\u7528\u56fd\u5185\u6e90\uff0c\u5b98\u65b9\u6e90\u8bf7\u5728\u6ce8\u91ca\u4e2d\u67e5\u770b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u6dfb\u52a0&nbsp;<code>yum<\/code>&nbsp;\u8f6f\u4ef6\u6e90\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo yum-config-manager \\\n    --add-repo \\\n    https:&#47;&#47;mirrors.aliyun.com\/docker-ce\/linux\/centos\/docker-ce.repo\n\n$ sudo sed -i 's\/download.docker.com\/mirrors.aliyun.com\\\/docker-ce\/g' \/etc\/yum.repos.d\/docker-ce.repo\n\n# \u5b98\u65b9\u6e90\n# $ sudo yum-config-manager \\\n#     --add-repo \\\n#     https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u9700\u8981\u6d4b\u8bd5\u7248\u672c\u7684 Docker \u8bf7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo yum-config-manager --enable docker-ce-test\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u5b89\u88c5-docker\">\u5b89\u88c5 Docker<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f4\u65b0&nbsp;<code>yum<\/code>&nbsp;\u8f6f\u4ef6\u6e90\u7f13\u5b58\uff0c\u5e76\u5b89\u88c5&nbsp;<code>docker-ce<\/code>\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"centos8-\u989d\u5916\u8bbe\u7f6e\">CentOS8 \u989d\u5916\u8bbe\u7f6e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7531\u4e8e CentOS8 \u9632\u706b\u5899\u4f7f\u7528\u4e86&nbsp;<code>nftables<\/code>\uff0c\u4f46 Docker \u5c1a\u672a\u652f\u6301&nbsp;<code>nftables<\/code>\uff0c \u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u8bbe\u7f6e\u4f7f\u7528&nbsp;<code>iptables<\/code>\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f4\u6539&nbsp;<code>\/etc\/firewalld\/firewalld.conf<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># FirewallBackend=nftables\nFirewallBackend=iptables\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6216\u8005\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ firewall-cmd --permanent --zone=trusted --add-interface=docker0\n\n$ firewall-cmd --reload\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4f7f\u7528\u811a\u672c\u81ea\u52a8\u5b89\u88c5\">\u4f7f\u7528\u811a\u672c\u81ea\u52a8\u5b89\u88c5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u6d4b\u8bd5\u6216\u5f00\u53d1\u73af\u5883\u4e2d Docker \u5b98\u65b9\u4e3a\u4e86\u7b80\u5316\u5b89\u88c5\u6d41\u7a0b\uff0c\u63d0\u4f9b\u4e86\u4e00\u5957\u4fbf\u6377\u7684\u5b89\u88c5\u811a\u672c\uff0cCentOS \u7cfb\u7edf\u4e0a\u53ef\u4ee5\u4f7f\u7528\u8fd9\u5957\u811a\u672c\u5b89\u88c5\uff0c\u53e6\u5916\u53ef\u4ee5\u901a\u8fc7&nbsp;<code>--mirror<\/code>&nbsp;\u9009\u9879\u4f7f\u7528\u56fd\u5185\u6e90\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u82e5\u4f60\u60f3\u5b89\u88c5\u6d4b\u8bd5\u7248\u7684 Docker, \u8bf7\u4ece test.docker.com \u83b7\u53d6\u811a\u672c<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-code\"><code># $ curl -fsSL test.docker.com -o get-docker.sh\n$ curl -fsSL get.docker.com -o get-docker.sh\n$ sudo sh get-docker.sh --mirror Aliyun\n# $ sudo sh get-docker.sh --mirror AzureChinaCloud\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u8fd9\u4e2a\u547d\u4ee4\u540e\uff0c\u811a\u672c\u5c31\u4f1a\u81ea\u52a8\u7684\u5c06\u4e00\u5207\u51c6\u5907\u5de5\u4f5c\u505a\u597d\uff0c\u5e76\u4e14\u628a Docker \u7684\u7a33\u5b9a(stable)\u7248\u672c\u5b89\u88c5\u5728\u7cfb\u7edf\u4e2d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u542f\u52a8-docker\">\u542f\u52a8 Docker<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo systemctl enable docker\n$ sudo systemctl start docker\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5efa\u7acb-docker-\u7528\u6237\u7ec4\">\u5efa\u7acb docker \u7528\u6237\u7ec4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c<code>docker<\/code>&nbsp;\u547d\u4ee4\u4f1a\u4f7f\u7528&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Unix_domain_socket\" target=\"_blank\" rel=\"noreferrer noopener\" rel=\"nofollow\" >Unix socket<\/a>&nbsp;\u4e0e Docker \u5f15\u64ce\u901a\u8baf\u3002\u800c\u53ea\u6709&nbsp;<code>root<\/code>&nbsp;\u7528\u6237\u548c&nbsp;<code>docker<\/code>&nbsp;\u7ec4\u7684\u7528\u6237\u624d\u53ef\u4ee5\u8bbf\u95ee Docker \u5f15\u64ce\u7684 Unix socket\u3002\u51fa\u4e8e\u5b89\u5168\u8003\u8651\uff0c\u4e00\u822c Linux \u7cfb\u7edf\u4e0a\u4e0d\u4f1a\u76f4\u63a5\u4f7f\u7528&nbsp;<code>root<\/code>&nbsp;\u7528\u6237\u3002\u56e0\u6b64\uff0c\u66f4\u597d\u5730\u505a\u6cd5\u662f\u5c06\u9700\u8981\u4f7f\u7528&nbsp;<code>docker<\/code>&nbsp;\u7684\u7528\u6237\u52a0\u5165&nbsp;<code>docker<\/code>&nbsp;\u7528\u6237\u7ec4\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5efa\u7acb&nbsp;<code>docker<\/code>&nbsp;\u7ec4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo groupadd docker\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c06\u5f53\u524d\u7528\u6237\u52a0\u5165&nbsp;<code>docker<\/code>&nbsp;\u7ec4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo usermod -aG docker $USER\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u9000\u51fa\u5f53\u524d\u7ec8\u7aef\u5e76\u91cd\u65b0\u767b\u5f55\uff0c\u8fdb\u884c\u5982\u4e0b\u6d4b\u8bd5\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u6d4b\u8bd5-docker-\u662f\u5426\u5b89\u88c5\u6b63\u786e\">\u6d4b\u8bd5 Docker \u662f\u5426\u5b89\u88c5\u6b63\u786e<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$ docker run --rm hello-world\n\nUnable to find image 'hello-world:latest' locally\nlatest: Pulling from library\/hello-world\nb8dfde127a29: Pull complete\nDigest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24\nStatus: Downloaded newer image for hello-world:latest\n\nHello from Docker!\nThis message shows that your installation appears to be working correctly.\n\nTo generate this message, Docker took the following steps:\n 1. The Docker client contacted the Docker daemon.\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\n    (amd64)\n 3. The Docker daemon created a new container from that image which runs the\n    executable that produces the output you are currently reading.\n 4. The Docker daemon streamed that output to the Docker client, which sent it\n    to your terminal.\n\nTo try something more ambitious, you can run an Ubuntu container with:\n $ docker run -it ubuntu bash\n\nShare images, automate workflows, and more with a free Docker ID:\n https:&#47;&#47;hub.docker.com\/\n\nFor more examples and ideas, visit:\n https:\/\/docs.docker.com\/get-started\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u80fd\u6b63\u5e38\u8f93\u51fa\u4ee5\u4e0a\u4fe1\u606f\uff0c\u5219\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u955c\u50cf\u52a0\u901f\">\u955c\u50cf\u52a0\u901f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u53d1\u73b0\u62c9\u53d6 Docker \u955c\u50cf\u5341\u5206\u7f13\u6162\uff0c\u53ef\u4ee5\u914d\u7f6e Docker\u00a0<a href=\"https:\/\/xieshuoshuo.top\/index.php\/docker%e9%95%9c%e5%83%8f%e5%8a%a0%e9%80%9f%e5%99%a8\/\" target=\"_blank\"  rel=\"nofollow\" >\u56fd\u5185\u955c\u50cf\u52a0\u901f<\/a>\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u6dfb\u52a0\u5185\u6838\u53c2\u6570\">\u6dfb\u52a0\u5185\u6838\u53c2\u6570<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u5728 CentOS \u4f7f\u7528 Docker \u770b\u5230\u4e0b\u9762\u7684\u8fd9\u4e9b\u8b66\u544a\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WARNING: bridge-nf-call-iptables is disabled\nWARNING: bridge-nf-call-ip6tables is disabled\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8bf7\u6dfb\u52a0\u5185\u6838\u914d\u7f6e\u53c2\u6570\u4ee5\u542f\u7528\u8fd9\u4e9b\u529f\u80fd\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo tee -a \/etc\/sysctl.conf &lt;&lt;-EOF\nnet.bridge.bridge-nf-call-ip6tables = 1\nnet.bridge.bridge-nf-call-iptables = 1\nEOF\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u91cd\u65b0\u52a0\u8f7d&nbsp;<code>sysctl.conf<\/code>&nbsp;\u5373\u53ef<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo sysctl -p<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u8b66\u544a\uff1a\u5207\u52ff\u5728\u6ca1\u6709\u914d\u7f6e Docker YUM \u6e90\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u4f7f\u7528 yum \u547d\u4ee4\u5b89\u88c5 Docker. \u51c6\u5907\u5de5\u4f5c \u7cfb\u7edf\u8981\u6c42 Docker &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[22,12],"tags":[31,38],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-22","category-linux","tag-docker","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Docker\u5b89\u88c5\u4e4bCentOS - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149<\/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.17ci.com\/index.php\/docker\u5b89\u88c5\u4e4bcentos\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker\u5b89\u88c5\u4e4bCentOS - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149\" \/>\n<meta property=\"og:description\" content=\"\u8b66\u544a\uff1a\u5207\u52ff\u5728\u6ca1\u6709\u914d\u7f6e Docker YUM \u6e90\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u4f7f\u7528 yum \u547d\u4ee4\u5b89\u88c5 Docker. \u51c6\u5907\u5de5\u4f5c \u7cfb\u7edf\u8981\u6c42 Docker ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.17ci.com\/index.php\/docker\u5b89\u88c5\u4e4bcentos\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-06T01:50:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-03T08:12:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602409-logoko.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"xieshuoshuo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"xieshuoshuo\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/\"},\"author\":{\"name\":\"xieshuoshuo\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\"},\"headline\":\"Docker\u5b89\u88c5\u4e4bCentOS\",\"datePublished\":\"2024-05-06T01:50:33+00:00\",\"dateModified\":\"2024-06-03T08:12:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/\"},\"wordCount\":73,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\"},\"keywords\":[\"Docker\",\"Linux\"],\"articleSection\":[\"Docker\",\"Linux\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/\",\"url\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/\",\"name\":\"Docker\u5b89\u88c5\u4e4bCentOS - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#website\"},\"datePublished\":\"2024-05-06T01:50:33+00:00\",\"dateModified\":\"2024-06-03T08:12:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/www.17ci.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docker\u5b89\u88c5\u4e4bCentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#website\",\"url\":\"https:\\\/\\\/www.17ci.com\\\/\",\"name\":\"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149\",\"description\":\"\u832b\u832b\u4eba\u751f\uff0c\u597d\u50cf\u8352\u91ce...\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.17ci.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.17ci.com\\\/#\\\/schema\\\/person\\\/2b6d2c8bdf88e9055aba3abf2f2852b8\",\"name\":\"xieshuoshuo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\",\"url\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\",\"contentUrl\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\",\"width\":1619,\"height\":1619,\"caption\":\"xieshuoshuo\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.17ci.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/1702602405-avatar.jpg\"},\"description\":\"\u8fd9\u662f\u4e00\u4e2a\u795e\u79d8\u4eba\u58eb\uff0c\u6216\u8bb8\u7528\u6307\u5b9a\u7684\u65b9\u5f0f\u53ef\u4ee5\u8054\u7cfb\u5230......\",\"sameAs\":[\"https:\\\/\\\/www.17ci.com\"],\"url\":\"https:\\\/\\\/www.17ci.com\\\/index.php\\\/author\\\/xieshuoshuo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Docker\u5b89\u88c5\u4e4bCentOS - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149","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.17ci.com\/index.php\/docker\u5b89\u88c5\u4e4bcentos\/","og_locale":"zh_CN","og_type":"article","og_title":"Docker\u5b89\u88c5\u4e4bCentOS - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149","og_description":"\u8b66\u544a\uff1a\u5207\u52ff\u5728\u6ca1\u6709\u914d\u7f6e Docker YUM \u6e90\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u4f7f\u7528 yum \u547d\u4ee4\u5b89\u88c5 Docker. \u51c6\u5907\u5de5\u4f5c \u7cfb\u7edf\u8981\u6c42 Docker ...","og_url":"https:\/\/www.17ci.com\/index.php\/docker\u5b89\u88c5\u4e4bcentos\/","og_site_name":"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149","article_published_time":"2024-05-06T01:50:33+00:00","article_modified_time":"2024-06-03T08:12:48+00:00","og_image":[{"width":400,"height":400,"url":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602409-logoko.png","type":"image\/png"}],"author":"xieshuoshuo","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"xieshuoshuo","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/#article","isPartOf":{"@id":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/"},"author":{"name":"xieshuoshuo","@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8"},"headline":"Docker\u5b89\u88c5\u4e4bCentOS","datePublished":"2024-05-06T01:50:33+00:00","dateModified":"2024-06-03T08:12:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/"},"wordCount":73,"commentCount":0,"publisher":{"@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8"},"keywords":["Docker","Linux"],"articleSection":["Docker","Linux"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/","url":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/","name":"Docker\u5b89\u88c5\u4e4bCentOS - \u4ed6\u7684\u65e5\u5e38\u65f6\u5149","isPartOf":{"@id":"https:\/\/www.17ci.com\/#website"},"datePublished":"2024-05-06T01:50:33+00:00","dateModified":"2024-06-03T08:12:48+00:00","breadcrumb":{"@id":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.17ci.com\/index.php\/docker%e5%ae%89%e8%a3%85%e4%b9%8bcentos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.17ci.com\/"},{"@type":"ListItem","position":2,"name":"Docker\u5b89\u88c5\u4e4bCentOS"}]},{"@type":"WebSite","@id":"https:\/\/www.17ci.com\/#website","url":"https:\/\/www.17ci.com\/","name":"\u4ed6\u7684\u65e5\u5e38\u65f6\u5149","description":"\u832b\u832b\u4eba\u751f\uff0c\u597d\u50cf\u8352\u91ce...","publisher":{"@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.17ci.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.17ci.com\/#\/schema\/person\/2b6d2c8bdf88e9055aba3abf2f2852b8","name":"xieshuoshuo","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg","url":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg","contentUrl":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg","width":1619,"height":1619,"caption":"xieshuoshuo"},"logo":{"@id":"https:\/\/www.17ci.com\/wp-content\/uploads\/2023\/12\/1702602405-avatar.jpg"},"description":"\u8fd9\u662f\u4e00\u4e2a\u795e\u79d8\u4eba\u58eb\uff0c\u6216\u8bb8\u7528\u6307\u5b9a\u7684\u65b9\u5f0f\u53ef\u4ee5\u8054\u7cfb\u5230......","sameAs":["https:\/\/www.17ci.com"],"url":"https:\/\/www.17ci.com\/index.php\/author\/xieshuoshuo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":2,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"predecessor-version":[{"id":198,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/posts\/194\/revisions\/198"}],"wp:attachment":[{"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.17ci.com\/index.php\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}