-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (124 loc) · 59.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Docker — 从入门到实践 | Docker 从入门到实践</title>
<meta name="generator" content="VuePress 1.8.2">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?81a3490c9cd141dbcf6d00bc18b6edae";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials">
<link rel="alternate" type="application/atom+xml" href="https://vuepress.mirror.docker-practice.com/atom.xml" title="Docker 从入门到实践 Atom Feed">
<link rel="alternate" type="application/json" href="https://vuepress.mirror.docker-practice.com/rss.xml" title="Docker 从入门到实践 JSON Feed">
<link rel="alternate" type="application/rss+xml" href="https://vuepress.mirror.docker-practice.com/rss.xml" title="Docker 从入门到实践 RSS Feed">
<meta name="description" content="">
<meta property="og:url" content="https://vuepress.mirror.docker-practice.com/">
<meta property="og:site_name" content="Docker 从入门到实践">
<meta property="og:title" content="Docker — 从入门到实践">
<meta property="og:type" content="article">
<meta property="og:locale" content="zh-CN">
<meta name="theme-color" content="#46bd87">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<link rel="preload" href="/assets/css/0.styles.afda3325.css" as="style"><link rel="preload" href="/assets/js/app.678837fc.js" as="script"><link rel="preload" href="/assets/js/vendors~layout-Layout.ccc5f44f.js" as="script"><link rel="preload" href="/assets/js/vendors~layout-Blog~layout-Layout~layout-NotFound.5aebf84c.js" as="script"><link rel="preload" href="/assets/js/page-Docker—从入门到实践.c7244a23.js" as="script"><link rel="preload" href="/assets/js/180.7ffc2bb9.js" as="script"><link rel="prefetch" href="/assets/js/181.feb0d7a5.js"><link rel="prefetch" href="/assets/js/182.971301ed.js"><link rel="prefetch" href="/assets/js/layout-Blog.0a58f4ba.js"><link rel="prefetch" href="/assets/js/layout-Layout.0d1bdf12.js"><link rel="prefetch" href="/assets/js/layout-NotFound.dad042d2.js"><link rel="prefetch" href="/assets/js/layout-Slide.1607a4ad.js"><link rel="prefetch" href="/assets/js/page--1680a9ba.098d2156.js"><link rel="prefetch" href="/assets/js/page--220c6e3a.73b23cf7.js"><link rel="prefetch" href="/assets/js/page--4750df62.c47b44c8.js"><link rel="prefetch" href="/assets/js/page--75af3dfa.b24527e1.js"><link rel="prefetch" href="/assets/js/page--7d3316f5.c0b4a65f.js"><link rel="prefetch" href="/assets/js/page-ADD更高级的复制文件.450b4fb4.js"><link rel="prefetch" href="/assets/js/page-ARG构建参数.cf4a5491.js"><link rel="prefetch" href="/assets/js/page-Alpine.3da58b96.js"><link rel="prefetch" href="/assets/js/page-Busybox.884bbf04.js"><link rel="prefetch" href="/assets/js/page-CICD.7ea451e4.js"><link rel="prefetch" href="/assets/js/page-CMD容器启动命令.82c754fa.js"><link rel="prefetch" href="/assets/js/page-COPY复制文件.388a4793.js"><link rel="prefetch" href="/assets/js/page-CentOS.6aebf854.js"><link rel="prefetch" href="/assets/js/page-CentOSFedora.ebf10129.js"><link rel="prefetch" href="/assets/js/page-CentOS安装Docker.05788630.js"><link rel="prefetch" href="/assets/js/page-Compose命令说明.7bfe2e96.js"><link rel="prefetch" href="/assets/js/page-Compose模板文件.eaefa4e2.js"><link rel="prefetch" href="/assets/js/page-Compose简介.e068b332.js"><link rel="prefetch" href="/assets/js/page-DebianUbuntu.380203ee.js"><link rel="prefetch" href="/assets/js/page-Debian安装Docker.823c6f92.js"><link rel="prefetch" href="/assets/js/page-DockerBuildx.0656e1c2.js"><link rel="prefetch" href="/assets/js/page-DockerCompose项目.673ddd69.js"><link rel="prefetch" href="/assets/js/page-DockerDesktop启用Kubernetes.6884566c.js"><link rel="prefetch" href="/assets/js/page-DockerHub.3584ef47.js"><link rel="prefetch" href="/assets/js/page-DockerRegistry.1b2b51b3.js"><link rel="prefetch" href="/assets/js/page-Dockerfile指令详解.4a349feb.js"><link rel="prefetch" href="/assets/js/page-Dockerfile最佳实践.d31c17da.js"><link rel="prefetch" href="/assets/js/page-Docker中的网络功能介绍.39e84b74.js"><link rel="prefetch" href="/assets/js/page-Docker命令查询.4178a8ff.js"><link rel="prefetch" href="/assets/js/page-Docker容器.c712f7c1.js"><link rel="prefetch" href="/assets/js/page-Docker数据管理.597cc974.js"><link rel="prefetch" href="/assets/js/page-Docker服务端的防护.5517bb22.js"><link rel="prefetch" href="/assets/js/page-Docker网络实现.ea9ba10e.js"><link rel="prefetch" href="/assets/js/page-Docker镜像.7b94d10a.js"><link rel="prefetch" href="/assets/js/page-Drone.28e1528d.js"><link rel="prefetch" href="/assets/js/page-DroneDemo.ef975fc5.js"><link rel="prefetch" href="/assets/js/page-ENTRYPOINT入口点.47011350.js"><link rel="prefetch" href="/assets/js/page-ENV设置环境变量.df633d64.js"><link rel="prefetch" href="/assets/js/page-EXPOSE声明端口.40de7e18.js"><link rel="prefetch" href="/assets/js/page-FedoraCoreOS.69d44d4b.js"><link rel="prefetch" href="/assets/js/page-FedoraCoreOS介绍.2ce9f26e.js"><link rel="prefetch" href="/assets/js/page-Fedora安装Docker.3b6c2863.js"><link rel="prefetch" href="/assets/js/page-GitHubActions.f781d0de.js"><link rel="prefetch" href="/assets/js/page-HEALTHCHECK健康检查.feecea98.js"><link rel="prefetch" href="/assets/js/page-Kubernetes.ee359643.js"><link rel="prefetch" href="/assets/js/page-KubernetesDashboard.a2aca48c.js"><link rel="prefetch" href="/assets/js/page-LABEL指令.f41a5d09.js"><link rel="prefetch" href="/assets/js/page-MongoDB.4df98997.js"><link rel="prefetch" href="/assets/js/page-MySQL.ecdcb986.js"><link rel="prefetch" href="/assets/js/page-Nexus3x的私有仓库.68e14e39.js"><link rel="prefetch" href="/assets/js/page-Nginx.42da71bc.js"><link rel="prefetch" href="/assets/js/page-Nodejs.1fabf7e7.js"><link rel="prefetch" href="/assets/js/page-ONBUILD为他人做嫁衣裳.b8eaada3.js"><link rel="prefetch" href="/assets/js/page-PHP.c897abd6.js"><link rel="prefetch" href="/assets/js/page-Redis.50d69ab5.js"><link rel="prefetch" href="/assets/js/page-SHELL指令.e90a7411.js"><link rel="prefetch" href="/assets/js/page-SWarmmode与滚动升级.7bbaad2f.js"><link rel="prefetch" href="/assets/js/page-Swarmmode.487b39eb.js"><link rel="prefetch" href="/assets/js/page-USER指定当前用户.52301585.js"><link rel="prefetch" href="/assets/js/page-Ubuntu.de34be43.js"><link rel="prefetch" href="/assets/js/page-Ubuntu安装Docker.077d7339.js"><link rel="prefetch" href="/assets/js/page-VOLUME定义匿名卷.41db9538.js"><link rel="prefetch" href="/assets/js/page-VSCode中使用Docker.0013ff5f.js"><link rel="prefetch" href="/assets/js/page-WORKDIR指定工作目录.56baa98a.js"><link rel="prefetch" href="/assets/js/page-Windows10安装Docker.4b9f12b7.js"><link rel="prefetch" href="/assets/js/page-WordPress.07d098c3.js"><link rel="prefetch" href="/assets/js/page-etcd.07d23362.js"><link rel="prefetch" href="/assets/js/page-etcd集群.7191a55c.js"><link rel="prefetch" href="/assets/js/page-kubectl使用.ff1dfb25.js"><link rel="prefetch" href="/assets/js/page-macOS安装Docker.9e53b117.js"><link rel="prefetch" href="/assets/js/page-minio.a03203f9.js"><link rel="prefetch" href="/assets/js/page-podman.f1f70547.js"><link rel="prefetch" href="/assets/js/page-一步步部署kubernetes集群.21f4cff1.js"><link rel="prefetch" href="/assets/js/page-为什么要使用Docker?.da027b53.js"><link rel="prefetch" href="/assets/js/page-亚马逊云.765f82a2.js"><link rel="prefetch" href="/assets/js/page-什么是Docker.7234dd50.js"><link rel="prefetch" href="/assets/js/page-什么是etcd.c8fd15ce.js"><link rel="prefetch" href="/assets/js/page-使用.022e83c4.js"><link rel="prefetch" href="/assets/js/page-使用BuildKit构建镜像.4db16823.js"><link rel="prefetch" href="/assets/js/page-使用Buildx构建镜像.3627330e.js"><link rel="prefetch" href="/assets/js/page-使用Django.d1ae53b6.js"><link rel="prefetch" href="/assets/js/page-使用Dockerfile定制镜像.2eacceac.js"><link rel="prefetch" href="/assets/js/page-使用Docker镜像.d1acce3a.js"><link rel="prefetch" href="/assets/js/page-使用Rails.33e743da.js"><link rel="prefetch" href="/assets/js/page-使用WordPress.1a73e2ab.js"><link rel="prefetch" href="/assets/js/page-使用buildx构建多种系统架构支持的Docker镜像.6029cdfe.js"><link rel="prefetch" href="/assets/js/page-使用compose搭建LNMP环境.b57e23a5.js"><link rel="prefetch" href="/assets/js/page-使用etcdctl.597362f1.js"><link rel="prefetch" href="/assets/js/page-使用etcdctlv2.5f1358a8.js"><link rel="prefetch" href="/assets/js/page-使用kubeadm部署kubernetes(CRI使用containerd).2f536e07.js"><link rel="prefetch" href="/assets/js/page-使用kubeadm部署kubernetes(使用Docker).58e1c21e.js"><link rel="prefetch" href="/assets/js/page-修订记录.d418d1f6.js"><link rel="prefetch" href="/assets/js/page-其它制作镜像的方式.cb3ad302.js"><link rel="prefetch" href="/assets/js/page-其它安全特性.25922662.js"><link rel="prefetch" href="/assets/js/page-内核命名空间.85eeab79.js"><link rel="prefetch" href="/assets/js/page-内核能力机制.820a42cb.js"><link rel="prefetch" href="/assets/js/page-列出镜像.b26ffd25.js"><link rel="prefetch" href="/assets/js/page-创建Swarm集群.1c72927c.js"><link rel="prefetch" href="/assets/js/page-删除容器.4f588cb6.js"><link rel="prefetch" href="/assets/js/page-删除本地镜像.1d21bfb9.js"><link rel="prefetch" href="/assets/js/page-利用commit理解镜像构成.9f2207b6.js"><link rel="prefetch" href="/assets/js/page-参考文档.e89159b2.js"><link rel="prefetch" href="/assets/js/page-后台运行.0ab3182f.js"><link rel="prefetch" href="/assets/js/page-启动容器.d813a600.js"><link rel="prefetch" href="/assets/js/page-命名空间.82aa00ad.js"><link rel="prefetch" href="/assets/js/page-在IDE中使用Docker.67a0a6c5.js"><link rel="prefetch" href="/assets/js/page-在Swarm集群中使用compose文件.2cb67647.js"><link rel="prefetch" href="/assets/js/page-在Swarm集群中管理敏感数据.9201c18b.js"><link rel="prefetch" href="/assets/js/page-在Swarm集群中管理配置数据.1ae5c217.js"><link rel="prefetch" href="/assets/js/page-基本架构.630d2b59.js"><link rel="prefetch" href="/assets/js/page-基本概念.ed66d6ba.js"><link rel="prefetch" href="/assets/js/page-外部访问容器.e64df870.js"><link rel="prefetch" href="/assets/js/page-多阶段构建.c6663435.js"><link rel="prefetch" href="/assets/js/page-如何调试Docker.519e7f6f.js"><link rel="prefetch" href="/assets/js/page-如何贡献.a2b5b1d1.js"><link rel="prefetch" href="/assets/js/page-安全.b820202b.js"><link rel="prefetch" href="/assets/js/page-安装.85aea5d1.js"><link rel="prefetch" href="/assets/js/page-安装Docker.3231185a.js"><link rel="prefetch" href="/assets/js/page-安装FedoraCoreOS.8dc3fb16.js"><link rel="prefetch" href="/assets/js/page-安装与卸载.2571cd2a.js"><link rel="prefetch" href="/assets/js/page-实战多阶段构建Laravel镜像.b8daa648.js"><link rel="prefetch" href="/assets/js/page-客户端命令(docker).84a8d511.js"><link rel="prefetch" href="/assets/js/page-容器与云计算.f4ff5f6f.js"><link rel="prefetch" href="/assets/js/page-容器互联.b2dafd71.js"><link rel="prefetch" href="/assets/js/page-容器格式.b1551c32.js"><link rel="prefetch" href="/assets/js/page-容器访问控制.edca006b.js"><link rel="prefetch" href="/assets/js/page-导出和导入容器.1f05fc94.js"><link rel="prefetch" href="/assets/js/page-工具和示例.99bffd98.js"><link rel="prefetch" href="/assets/js/page-常见问题总结.5f50c7dd.js"><link rel="prefetch" href="/assets/js/page-底层实现.f5511bc5.js"><link rel="prefetch" href="/assets/js/page-开启实验特性.c3499df5.js"><link rel="prefetch" href="/assets/js/page-归档项目.659f47a5.js"><link rel="prefetch" href="/assets/js/page-快速配置指南.083faa62.js"><link rel="prefetch" href="/assets/js/page-总结.50884adf.js"><link rel="prefetch" href="/assets/js/page-挂载主机目录.ac93cb87.js"><link rel="prefetch" href="/assets/js/page-控制组.d3cae8bd.js"><link rel="prefetch" href="/assets/js/page-操作Docker容器.24a58de1.js"><link rel="prefetch" href="/assets/js/page-操作系统.28e717da.js"><link rel="prefetch" href="/assets/js/page-数据卷.5c081174.js"><link rel="prefetch" href="/assets/js/page-映射容器端口到宿主主机的实现.90c5c519.js"><link rel="prefetch" href="/assets/js/page-服务端命令(dockerd).acdd3f46.js"><link rel="prefetch" href="/assets/js/page-本章小结.dbf329fe.js"><link rel="prefetch" href="/assets/js/page-构建多种系统架构支持的Docker镜像--dockermanifest命令详解.080fd765.js"><link rel="prefetch" href="/assets/js/page-树莓派卡片电脑安装Docker.7fe5d174.js"><link rel="prefetch" href="/assets/js/page-热门镜像介绍.995729c0.js"><link rel="prefetch" href="/assets/js/page-示例:创建一个点到点连接.8129714b.js"><link rel="prefetch" href="/assets/js/page-离线部署Docker.ac22fb54.js"><link rel="prefetch" href="/assets/js/page-私有仓库.430cd420.js"><link rel="prefetch" href="/assets/js/page-私有仓库高级配置.ec6ac058.js"><link rel="prefetch" href="/assets/js/page-简介.99334970.js"><link rel="prefetch" href="/assets/js/page-终止容器.22c53538.js"><link rel="prefetch" href="/assets/js/page-编辑网络配置文件.ae072792.js"><link rel="prefetch" href="/assets/js/page-联合文件系统.efab04e2.js"><link rel="prefetch" href="/assets/js/page-腾讯云.2706d27b.js"><link rel="prefetch" href="/assets/js/page-自定义网桥.5d644968.js"><link rel="prefetch" href="/assets/js/page-获取镜像.0eb6767e.js"><link rel="prefetch" href="/assets/js/page-访问仓库.7d580b02.js"><link rel="prefetch" href="/assets/js/page-资源链接.9fafd502.js"><link rel="prefetch" href="/assets/js/page-进入容器.9bb462fa.js"><link rel="prefetch" href="/assets/js/page-部署Drone.52a764fd.js"><link rel="prefetch" href="/assets/js/page-部署Kubernetes.89689f8d.js"><link rel="prefetch" href="/assets/js/page-部署服务.84609e3c.js"><link rel="prefetch" href="/assets/js/page-配置DNS.e5fdb9f3.js"><link rel="prefetch" href="/assets/js/page-配置docker0网桥.68eda02b.js"><link rel="prefetch" href="/assets/js/page-镜像加速器.97d3ae13.js"><link rel="prefetch" href="/assets/js/page-镜像的实现原理.131ef438.js"><link rel="prefetch" href="/assets/js/page-阿里云.4bd54833.js"><link rel="prefetch" href="/assets/js/page-附录.96145634.js"><link rel="prefetch" href="/assets/js/page-项目简介.2a9c9677.js"><link rel="prefetch" href="/assets/js/page-高级网络配置.c86d76d8.js"><link rel="prefetch" href="/assets/js/vendors~photo-swipe.5c4c06de.js">
<link rel="stylesheet" href="/assets/css/0.styles.afda3325.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container has-navbar has-sidebar has-anchor"><header class="navbar"><!----> <div class="content__navbar-start"></div> <button title="Sidebar Button" class="sidebar-button"><span class="icon"></span></button> <a href="/" aria-current="page" class="home-link router-link-exact-active router-link-active"><!----> <!----> <span class="site-name can-hide">Docker 从入门到实践</span></a> <!----> <div class="content__navbar-center"></div> <div class="links"><button tabindex="-1" aria-hidden="true" class="color-button"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="skin-icon"><path d="M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4
38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32
51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0
102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2
6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4
0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2
9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224
419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4
470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0
22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6
12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128
505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2
16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8
86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4
80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6
6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"></path></svg> <div class="color-picker-menu" style="display:none;"><div class="theme-options"><ul class="themecolor-select"><label for="themecolor-select">主题色:</label> <li><span class="default-theme"></span></li> </ul> <div class="darkmode-toggle"><label for="darkmode-toggle" class="desc">主题模式:</label> <div class="darkmode-switch"><div class="item day"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon light-icon"><path d="M512 256a42.667 42.667 0 0 0 42.667-42.667V128a42.667 42.667 0 0 0-85.334 0v85.333A42.667 42.667 0 0 0 512 256zm384 213.333h-85.333a42.667 42.667 0 0 0 0 85.334H896a42.667 42.667 0 0 0 0-85.334zM256 512a42.667 42.667 0 0 0-42.667-42.667H128a42.667 42.667 0 0 0 0 85.334h85.333A42.667 42.667 0 0 0 256 512zm9.387-298.667a42.667 42.667 0 0 0-59.307 62.72l61.44 59.307a42.667 42.667 0 0 0 31.147 11.947 42.667 42.667 0 0 0 30.72-13.227 42.667 42.667 0 0 0 0-60.16zm459.946 133.974a42.667 42.667 0 0 0 29.44-11.947l61.44-59.307a42.667 42.667 0 0 0-57.6-62.72l-61.44 60.587a42.667 42.667 0 0 0 0 60.16 42.667 42.667 0 0 0 28.16 13.227zM512 768a42.667 42.667 0 0 0-42.667 42.667V896a42.667 42.667 0 0 0 85.334 0v-85.333A42.667 42.667 0 0 0 512 768zm244.48-79.36a42.667 42.667 0 0 0-59.307 61.44l61.44 60.587a42.667 42.667 0 0 0 29.44 11.946 42.667 42.667 0 0 0 30.72-12.8 42.667 42.667 0 0 0 0-60.586zm-488.96 0-61.44 59.307a42.667 42.667 0 0 0 0 60.586 42.667 42.667 0 0 0 30.72 12.8 42.667 42.667 0 0 0 28.587-10.666l61.44-59.307a42.667 42.667 0 0 0-59.307-61.44zM512 341.333A170.667 170.667 0 1 0 682.667 512 170.667 170.667 0 0 0 512 341.333z" fill="currentColor"></path></svg></div> <div class="item auto active"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon auto-icon"><path d="M460.864 539.072H564.8L510.592 376l-49.728 163.072zM872 362.368V149.504H659.648L510.528 0l-149.12 149.504H149.12v212.928L0 511.872l149.12 149.504v212.928h212.352l149.12 149.504 149.12-149.504h212.352V661.376l149.12-149.504L872 362.368zM614.464 693.12l-31.616-90.624H438.272l-31.616 90.624h-85.888l144.576-407.68h90.368l144.576 407.68h-85.824zm0 0" fill="currentColor"></path></svg></div> <div class="item night"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon dark-icon"><path d="M935.539 630.402c-11.43-11.432-28.674-14.739-43.531-8.354-46.734 20.103-96.363 30.297-147.508 30.297-99.59 0-193.221-38.784-263.64-109.203-108.637-108.637-139.61-270.022-78.908-411.148a39.497 39.497 0 0 0-51.886-51.887c-52.637 22.64-100.017 54.81-140.826 95.616-85.346 85.346-132.346 198.821-132.346 319.52 0 120.7 47.001 234.172 132.347 319.519S408.063 947.11 528.76 947.11c120.7 0 234.172-47.003 319.52-132.351 40.809-40.81 72.978-88.19 95.616-140.826a39.497 39.497 0 0 0-8.356-43.532z" fill="currentColor"></path></svg></div></div> <!----></div></div></div></button> <div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://docker_practice.gitee.io/pic/dpsig-wechat.jpg" target="_blank" rel="noopener noreferrer" class="nav-link external"><!---->
微信交流群
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="https://docker_practice.gitee.io/pic/dp-wechat-miniprogram.jpg" target="_blank" rel="noopener noreferrer" class="nav-link external"><!---->
小程序
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="/install/" class="nav-link"><!---->
安装 Docker
</a></div><div class="nav-item"><a href="/" aria-current="page" class="nav-link router-link-exact-active router-link-active active"><!---->
Docker 入门
</a></div><div class="nav-item"><a href="/cases/os/" class="nav-link"><!---->
Docker 实战
</a></div><div class="nav-item"><a href="/cases/ci/" class="nav-link"><!---->
CI/CD
</a></div><div class="nav-item"><a href="/compose/" class="nav-link"><!---->
Compose
</a></div><div class="nav-item"><a href="/kubernetes/" class="nav-link"><!---->
Kubernetes
</a></div><div class="nav-item"><a href="/cloud/" class="nav-link"><!---->
云计算
</a></div><div class="nav-item"><a href="https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console" target="_blank" rel="noopener noreferrer" class="nav-link external"><!---->
云服务器99/元首年特惠
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div></nav> <!----> <a rel="noopener noreferrer" href="https://github.com/yeasy/docker_practice" target="_blank" class="repo-link can-hide">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> <!----> <div class="content__navbar-end"></div></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><!----> <!----> <div class="content__sidebar-top"></div> <nav class="sidebar-nav-links"><div class="nav-item"><a href="https://docker_practice.gitee.io/pic/dpsig-wechat.jpg" target="_blank" rel="noopener noreferrer" class="nav-link external"><!---->
微信交流群
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="https://docker_practice.gitee.io/pic/dp-wechat-miniprogram.jpg" target="_blank" rel="noopener noreferrer" class="nav-link external"><!---->
小程序
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div><div class="nav-item"><a href="/install/" class="nav-link"><!---->
安装 Docker
</a></div><div class="nav-item"><a href="/" aria-current="page" class="nav-link router-link-exact-active router-link-active active"><!---->
Docker 入门
</a></div><div class="nav-item"><a href="/cases/os/" class="nav-link"><!---->
Docker 实战
</a></div><div class="nav-item"><a href="/cases/ci/" class="nav-link"><!---->
CI/CD
</a></div><div class="nav-item"><a href="/compose/" class="nav-link"><!---->
Compose
</a></div><div class="nav-item"><a href="/kubernetes/" class="nav-link"><!---->
Kubernetes
</a></div><div class="nav-item"><a href="/cloud/" class="nav-link"><!---->
云计算
</a></div><div class="nav-item"><a href="https://cloud.tencent.com/act/cps/redirect?redirect=1062&cps_key=3a5255852d5db99dcd5da4c72f05df61&from=console" target="_blank" rel="noopener noreferrer" class="nav-link external"><!---->
云服务器99/元首年特惠
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></div> <a rel="noopener noreferrer" href="https://github.com/yeasy/docker_practice" target="_blank" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <!----> <div class="content__sidebar-center"></div> <ul class="sidebar-links"><li><a href="/" aria-current="page" class="active sidebar-link">Docker — 从入门到实践</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/#微信小程序" class="sidebar-link">微信小程序</a></li><li class="sidebar-sub-header"><a href="/#技术交流" class="sidebar-link">技术交流</a></li><li class="sidebar-sub-header"><a href="/#进阶学习" class="sidebar-link">进阶学习</a></li><li class="sidebar-sub-header"><a href="/#鼓励项目" class="sidebar-link">鼓励项目</a></li></ul></li><li><a href="/CHANGELOG/" class="sidebar-link">修订记录</a></li><li><a href="/CONTRIBUTING/" class="sidebar-link">如何贡献</a></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">Docker 简介</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/introduction/" class="sidebar-link">简介</a></li><li><a href="/introduction/what/" class="sidebar-link">什么是 Docker</a></li><li><a href="/introduction/why/" class="sidebar-link">为什么要使用 Docker?</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">基本概念</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/basic_concept/" class="sidebar-link">基本概念</a></li><li><a href="/basic_concept/image/" class="sidebar-link">Docker 镜像</a></li><li><a href="/basic_concept/container/" class="sidebar-link">Docker 容器</a></li><li><a href="/basic_concept/repository/" class="sidebar-link">Docker Registry</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">使用镜像</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/image/" class="sidebar-link">使用 Docker 镜像</a></li><li><a href="/image/pull/" class="sidebar-link">获取镜像</a></li><li><a href="/image/list/" class="sidebar-link">列出镜像</a></li><li><a href="/image/rm/" class="sidebar-link">删除本地镜像</a></li><li><a href="/image/commit/" class="sidebar-link">利用 commit 理解镜像构成</a></li><li><a href="/image/build/" class="sidebar-link">使用 Dockerfile 定制镜像</a></li><li><a href="/image/other/" class="sidebar-link">其它制作镜像的方式</a></li><li><a href="/image/internal/" class="sidebar-link">镜像的实现原理</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">Dockerfile</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">操作容器</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/container/" class="sidebar-link">操作 Docker 容器</a></li><li><a href="/container/run/" class="sidebar-link">启动容器</a></li><li><a href="/container/daemon/" class="sidebar-link">后台运行</a></li><li><a href="/container/stop/" class="sidebar-link">终止容器</a></li><li><a href="/container/attach_exec/" class="sidebar-link">进入容器</a></li><li><a href="/container/import_export/" class="sidebar-link">导出和导入容器</a></li><li><a href="/container/rm/" class="sidebar-link">删除容器</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">Docker 仓库</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/repository/" class="sidebar-link">访问仓库</a></li><li><a href="/repository/dockerhub/" class="sidebar-link">Docker Hub</a></li><li><a href="/repository/registry/" class="sidebar-link">私有仓库</a></li><li><a href="/repository/registry_auth/" class="sidebar-link">私有仓库高级配置</a></li><li><a href="/repository/nexus3_registry/" class="sidebar-link">Nexus3.x 的私有仓库</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">数据管理</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/data_management/" class="sidebar-link">Docker 数据管理</a></li><li><a href="/data_management/volume/" class="sidebar-link">数据卷</a></li><li><a href="/data_management/bind-mounts/" class="sidebar-link">挂载主机目录</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">使用网络</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/network/" class="sidebar-link">Docker 中的网络功能介绍</a></li><li><a href="/network/port_mapping/" class="sidebar-link">外部访问容器</a></li><li><a href="/network/linking/" class="sidebar-link">容器互联</a></li><li><a href="/network/dns/" class="sidebar-link">配置 DNS</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">高级网络配置</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">Swarm mode</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">安全</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">底层实现</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><!----> <span class="title">Docker Buildx</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/buildx/" class="sidebar-link">Docker Buildx</a></li><li><a href="/buildx/buildkit/" class="sidebar-link">使用 BuildKit 构建镜像</a></li><li><a href="/buildx/buildx/" class="sidebar-link">使用 Buildx 构建镜像</a></li><li><a href="/buildx/multi-arch-images/" class="sidebar-link">使用 buildx 构建多种系统架构支持的 Docker 镜像</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">Etcd</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">Fedora CoreOS</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/podman/" class="sidebar-link">podman</a></li><li><a href="/appendix/faq/" class="sidebar-link">常见问题总结</a></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">热门镜像介绍</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading clickable"><!----> <span class="title">Docker 命令</span> <span class="arrow right"></span></p> <!----></section></li><li><a href="/appendix/best_practices/" class="sidebar-link">Dockerfile 最佳实践</a></li><li><a href="/appendix/debug/" class="sidebar-link">如何调试 Docker</a></li><li><a href="/appendix/resources/" class="sidebar-link">资源链接</a></li></ul> <!----> <div class="content__sidebar-bottom"></div> <!----></aside> <main class="page"><nav class="breadcrumb disable"><!----></nav> <!----> <div class="content__page-top"></div> <div vocab="https://schema.org/" typeof="Article" class="page-title"><h1><!----> <span property="headline">Docker — 从入门到实践</span></h1> <div class="page-info"><!----> <span aria-label="阅读时间⌛" data-balloon-pos="down" defaultAuthor="" categoryPath="/category/$category/" tagPath="/tag/$tag/" class="reading-time-info"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon timer-icon"><path d="M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z" fill="currentColor"></path></svg> <span>大约 3 分钟</span> <meta property="timeRequired" content="PT3M"></span><span aria-label="字数🔠" data-balloon-pos="down" defaultAuthor="" categoryPath="/category/$category/" tagPath="/tag/$tag/" class="words-info"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon word-icon"><path d="M518.217 432.64V73.143A73.143 73.143 0 0 1 603.43 1.097a512 512 0 0 1 419.474 419.474 73.143 73.143 0 0 1-72.046 85.212H591.36a73.143 73.143 0 0 1-73.143-73.143z" fill="currentColor"></path> <path d="M493.714 566.857h340.297a73.143 73.143 0 0 1 73.143 85.577A457.143 457.143 0 1 1 371.566 117.76a73.143 73.143 0 0 1 85.577 73.143v339.383a36.571 36.571 0 0 0 36.571 36.571z" fill="currentColor"></path></svg> <span>约 829 字</span> <meta property="wordCount" content="829"></span></div> <!----> <hr></div> <div class="anchor-place-holder"><aside id="anchor"><div class="anchor-wrapper"><ul class="anchor-list"><li class="anchor"><a href="/#微信小程序" class="anchor-link heading2"><div>微信小程序</div></a></li><li class="anchor"><a href="/#技术交流" class="anchor-link heading2"><div>技术交流</div></a></li><li class="anchor"><a href="/#进阶学习" class="anchor-link heading2"><div>进阶学习</div></a></li><li class="anchor"><a href="/#鼓励项目" class="anchor-link heading2"><div>鼓励项目</div></a></li></ul></div></aside></div> <!----> <div class="content__content-top"></div> <div class="theme-default-content content__default"><h1 id="docker-从入门到实践"><a href="#docker-从入门到实践" class="header-anchor">#</a> Docker — 从入门到实践</h1> <div data-v-1a9df5cc><blockquote style="display:;" data-v-1a9df5cc><a href="https://www.aliyun.com/minisite/goods?userCode=8lx5zmtu&share_source=copy_link" target="_blank" rel="nofollow" style="text-decoration: none; width: 100%" data-v-1a9df5cc><div class="ads" data-v-1a9df5cc><div data-v-1a9df5cc><span class="name" data-v-1a9df5cc>
阿里云
</span> <span class="description" data-v-1a9df5cc>
上云优惠
</span> <span class="description-strong" data-v-1a9df5cc>
1 核 2G 云主机 87.12元/年 更多云产品爆款特惠
</span> <span class="action" data-v-1a9df5cc>
去看看
</span> <span class="ads-text" data-v-1a9df5cc>广告</span></div></div></a></blockquote> </div> <p><a href="https://github.com/yeasy/docker_practice" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/github/stars/yeasy/docker_practice.svg?style=social&label=Stars" alt=""><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> <a href="https://github.com/yeasy/docker_practice/releases" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/github/release/yeasy/docker_practice/all.svg" alt=""><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> <a href="https://github.com/docker/docker-ce" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Based-Docker CE v20.10-blue.svg" alt=""><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> <a href="https://union-click.jd.com/jdc?e=&p=JF8AANADIgZlGF0VAxUDVBJdHDISBFAfWRcCGzcRRANLXSJeEF4aVwkMGQ1eD0kdSVJKSQVJHBIEUB9ZFwIbGAxeB0gyS34PbFlHVHNkI0MQEAoIcSxyBWFLRAtZK1olABYHXR9eHAoQN2UbXCVQfN_jrYOwsw7T_5SOnZUiBmUbXBYBFwBVG14UBBAAZRxbHDJJUjscCEEHEQ4FSA4VBhBQZStrFjIiN1UrWCVAfARQT1gQA0cFAEwOEAcRDlMTDEALQAFTEwwRUhMAUR1cJQATBlES" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Docker 技术入门与实战-jd.com-red.svg" alt=""><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p><strong>v1.3.0</strong></p> <table><thead><tr><th style="text-align:left;">语言</th> <th style="text-align:left;">-</th></tr></thead> <tbody><tr><td style="text-align:left;"><a href="https://github.com/yeasy/docker_practice" target="_blank" rel="noopener noreferrer">简体中文<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td> <td style="text-align:left;"><a href="https://vuepress.mirror.docker-practice.com/" target="_blank" rel="noopener noreferrer">阅读<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></td></tr></tbody></table> <p><a href="https://www.docker.com" target="_blank" rel="noopener noreferrer">Docker<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的维护效率,降低了云计算应用开发的成本!使用 Docker,可以让应用的部署、测试和分发都变得前所未有的高效和轻松!</p> <p>无论是应用开发者、运维人员、还是其他信息技术从业人员,都有必要认识和掌握 Docker,节约有限的生命。</p> <p>本书既适用于具备基础 Linux 知识的 Docker 初学者,也希望可供理解原理和实现的高级用户参考。同时,书中给出的实践案例,可供在进行实际部署时借鉴。前六章为基础内容,供用户理解 Docker 的基本概念和操作;7 ~ 9 章介绍包括数据管理、网络等高级操作;第 10 ~ 12 章介绍了容器生态中的几个核心项目;13、14 章讨论了关于 Docker 安全和实现技术等高级话题。后续章节则分别介绍包括 Etcd、Fedora CoreOS、Kubernetes、容器云等相关热门开源项目。最后,还展示了使用容器技术的典型的应用场景和实践案例。</p> <ul><li>在线阅读:<a href="https://vuepress.mirror.docker-practice.com/" target="_blank" rel="noopener noreferrer">docker-practice.com<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>,<a href="https://yeasy.gitbook.io/docker_practice/" target="_blank" rel="noopener noreferrer">GitBook<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>,<a href="https://github.com/yeasy/docker_practice/blob/master/SUMMARY.md" target="_blank" rel="noopener noreferrer">Github<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li>离线阅读:<a href="https://github.com/yeasy/docker_practice/wiki/%E7%A6%BB%E7%BA%BF%E9%98%85%E8%AF%BB%E5%8A%9F%E8%83%BD%E8%AF%A6%E8%A7%A3" target="_blank" rel="noopener noreferrer"><code>$ docker run -it --rm -p 4000:80 ccr.ccs.tencentyun.com/dockerpracticesig/docker_practice:vuepress</code><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <p>Docker 自身仍在快速发展中,生态环境也在蓬勃成长。建议初学者使用最新稳定版本的 Docker 进行学习实践。欢迎 <a href="/CONTRIBUTING.html">参与项目维护</a>。</p> <ul><li><a href="/CHANGELOG.html">修订记录</a></li> <li><a href="https://github.com/yeasy/docker_practice/graphs/contributors" target="_blank" rel="noopener noreferrer">贡献者名单<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <h2 id="微信小程序"><a href="#微信小程序" class="header-anchor">#</a> 微信小程序</h2> <p align="center"><img width="200" src="https://docker_practice.gitee.io/pic/dp-wechat-miniprogram.jpg"></p> <p align="center"><strong>微信扫码 随时随地阅读~</strong></p> <h2 id="技术交流"><a href="#技术交流" class="header-anchor">#</a> 技术交流</h2> <p align="center"><img width="200" src="https://docker_practice.gitee.io/pic/dpsig-wechat.jpg"></p> <p align="center"><strong>微信扫码 加入群聊~ 或者微信添加 <code>dpsigs</code> 邀请入群</strong></p> <p>欢迎加入 Docker 技术交流 QQ 群,分享 Docker 资源,交流 Docker 技术。</p> <ul><li>QQ 群 I (已满):341410255</li> <li>QQ 群 II (已满):419042067</li> <li>QQ 群 III (已满):210028779</li> <li>QQ 群 IV (已满):483702734</li> <li>QQ 群 V (已满):460598761</li> <li>QQ 群 VI (已满):581983671</li> <li>QQ 群 VII (已满):252403484</li> <li>QQ 群 VIII(已满):544818750</li> <li>QQ 群 IX (已满):571502246</li> <li>QQ 群 X (可加):145983035</li></ul> <blockquote><p>如果有容器技术相关的疑问,请通过 <a href="https://github.com/yeasy/docker_practice/issues/new/choose" target="_blank" rel="noopener noreferrer">Issues<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> 来提出。</p></blockquote> <h2 id="进阶学习"><a href="#进阶学习" class="header-anchor">#</a> 进阶学习</h2> <p><a href="https://union-click.jd.com/jdc?e=&p=JF8AANADIgZlGF0VAxUDVBJdHDISBFAfWRcCGzcRRANLXSJeEF4aVwkMGQ1eD0kdSVJKSQVJHBIEUB9ZFwIbGAxeB0gyS34PbFlHVHNkI0MQEAoIcSxyBWFLRAtZK1olABYHXR9eHAoQN2UbXCVQfN_jrYOwsw7T_5SOnZUiBmUbXBYBFwBVG14UBBAAZRxbHDJJUjscCEEHEQ4FSA4VBhBQZStrFjIiN1UrWCVAfARQT1gQA0cFAEwOEAcRDlMTDEALQAFTEwwRUhMAUR1cJQATBlES" target="_blank" rel="noopener noreferrer"><img src="https://github.com/yeasy/docker_practice/raw/master/_images/docker_primer3.png" alt=""><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>《<a href="https://union-click.jd.com/jdc?e=&p=JF8AANADIgZlGF0VAxUDVBJdHDISBFAfWRcCGzcRRANLXSJeEF4aVwkMGQ1eD0kdSVJKSQVJHBIEUB9ZFwIbGAxeB0gyS34PbFlHVHNkI0MQEAoIcSxyBWFLRAtZK1olABYHXR9eHAoQN2UbXCVQfN_jrYOwsw7T_5SOnZUiBmUbXBYBFwBVG14UBBAAZRxbHDJJUjscCEEHEQ4FSA4VBhBQZStrFjIiN1UrWCVAfARQT1gQA0cFAEwOEAcRDlMTDEALQAFTEwwRUhMAUR1cJQATBlES" target="_blank" rel="noopener noreferrer">Docker 技术入门与实战<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>》第三版已经面世,介绍最新的容器技术栈,欢迎大家阅读使用并反馈建议。</p> <ul><li><a href="https://union-click.jd.com/jdc?e=&p=JF8AANADIgZlGF0VAxUDVBJdHDISBFAfWRcCGzcRRANLXSJeEF4aVwkMGQ1eD0kdSVJKSQVJHBIEUB9ZFwIbGAxeB0gyS34PbFlHVHNkI0MQEAoIcSxyBWFLRAtZK1olABYHXR9eHAoQN2UbXCVQfN_jrYOwsw7T_5SOnZUiBmUbXBYBFwBVG14UBBAAZRxbHDJJUjscCEEHEQ4FSA4VBhBQZStrFjIiN1UrWCVAfARQT1gQA0cFAEwOEAcRDlMTDEALQAFTEwwRUhMAUR1cJQATBlES" target="_blank" rel="noopener noreferrer">京东图书<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="http://product.china-pub.com/8052127" target="_blank" rel="noopener noreferrer">China-Pub<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul> <h2 id="鼓励项目"><a href="#鼓励项目" class="header-anchor">#</a> 鼓励项目</h2> <p align="center"><img width="200" src="https://github.com/yeasy/docker_practice/raw/master/_images/donate.jpeg"></p> <p align="center"><strong>欢迎鼓励项目一杯 coffee~</strong></p></div> <!----> <div class="content__content-bottom"></div> <footer class="page-meta"><div class="edit-link"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon edit-icon"><path d="M117.953 696.992 64.306 959.696l265.931-49.336 450.204-452.505-212.284-213.376-450.204 452.513zm496.384-296.326L219.039 797.993l-46.108-46.34L568.233 354.33l46.104 46.335zm345.357-122.99-114.45 115.04-212.288-213.377 114.45-115.035 212.288 213.371zm0 0" fill="currentColor"></path></svg> <a href="https://github.com/yeasy/docker_practice/edit/master//README.md" target="_blank" rel="noopener noreferrer">编辑此页</a></div> <div class="meta-item update-time"><span class="label">上次编辑于:</span> <span class="info">2022年5月12日 21:37</span></div> <div class="meta-item contributors"><span class="label">贡献者: </span> <span class="info"><span title="email: [email protected]" class="contributor">
Baohua Yang
</span> <!----></span></div></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/CHANGELOG/">
修订记录
<svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" class="icon next-icon"><path d="M906.772 512c0 4.772-2.211 9.267-5.99 12.175L524.257 813.66a15.37 15.37 0 0 1-18.616.092 15.368 15.368 0 0 1-5.038-17.91l75.714-191.672h-443.73c-8.488 0-15.36-6.881-15.36-15.36v-153.6c0-8.489 6.872-15.36 15.36-15.36h443.73l-75.714-191.682a15.358 15.358 0 0 1 5.048-17.91c5.51-4.158 13.128-4.137 18.606.092l376.525 289.485a15.323 15.323 0 0 1 5.99 12.165z" fill="currentColor"></path></svg></a></span></p></div> <div class="comments-wrapper" style="display:none;"><!----></div> <!----> <div class="content__page-bottom"></div></main> <footer class="footer-wrapper"><!----> <div class="footer">Made with <a target='_blank' href='https://github.com/vuepress-theme-hope/vuepress-theme-hope'>vuepress-theme-hope</a></div> <!----></footer></div><div class="global-ui"><!----><div id="pwa-install"><!----> <div id="install-modal-wrapper" style="display:none;"><div class="background"></div> <div class="install-modal"><div class="header"><button aria-label="关闭" class="close-button"><svg width="23" height="22" xmlns="http://www.w3.org/2000/svg" class="icon close-icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.12.358a1.224 1.224 0 011.729 0l8.92 8.914L20.686.358a1.224 1.224 0 011.73 1.728L13.497 11l8.92 8.913a1.222 1.222 0 11-1.73 1.729l-8.919-8.913-8.92 8.913a1.224 1.224 0 01-1.729-1.729L10.04 11l-8.92-8.914a1.222 1.222 0 010-1.728z" fill="currentColor"></path></svg></button> <div class="logo"><!----> <div class="title"><h1></h1> <p class="desc">该应用可以安装在你的 PC 或移动设备上。这将使该 Web 应用程序外观和行为与其他应用程序相同。它将在出现在应用程序列表中,并可以固定到主屏幕,开始菜单或任务栏。此 Web 应用程序还将能够与其他应用程序和你的操作系统安全地进行交互。</p></div></div></div> <div class="content"><div class="highlight"><!----> <!----></div> <div class="description"><h3>详情</h3> <p></p></div></div> <div class="button-wrapper"><button class="install-button">
安装 <span></span></button> <button class="cancel-button">
取消
</button></div></div></div></div><!----><div tabindex="-1" role="dialog" aria-hidden="true" class="pswp"><div class="pswp__bg"></div> <div class="pswp__scroll-wrap"><div class="pswp__container"><div class="pswp__item"></div> <div class="pswp__item"></div> <div class="pswp__item"></div></div> <div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter"></div> <button title="关闭" aria-label="关闭" class="pswp__button pswp__button--close"></button> <button title="分享" aria-label="分享" class="pswp__button pswp__button--share"></button> <button title="切换全屏" aria-label="切换全屏" class="pswp__button pswp__button--fs"></button> <button title="缩放" aria-label="缩放" class="pswp__button pswp__button--zoom"></button> <div class="pswp__preloader"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"></div></div></div></div></div> <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div></div> <button title="上一个 (左箭头)" aria-label="上一个 (左箭头)" class="pswp__button pswp__button--arrow--left"></button> <button title="下一个 (右箭头)" aria-label="下一个 (右箭头)" class="pswp__button pswp__button--arrow--right"></button> <div class="pswp__caption"><div class="pswp__caption__center"></div></div></div></div></div></div></div>
<script src="/assets/js/app.678837fc.js" defer></script><script src="/assets/js/vendors~layout-Layout.ccc5f44f.js" defer></script><script src="/assets/js/vendors~layout-Blog~layout-Layout~layout-NotFound.5aebf84c.js" defer></script><script src="/assets/js/page-Docker—从入门到实践.c7244a23.js" defer></script><script src="/assets/js/180.7ffc2bb9.js" defer></script>
</body>
</html>