345 lines
11 KiB
Text
345 lines
11 KiB
Text
Message-ID: <1350779792.5.1565776340845.JavaMail.root@IEX-SZI-MGT-ATLASSIAN>
|
|
Subject: Exported From Confluence
|
|
MIME-Version: 1.0
|
|
Content-Type: multipart/related;
|
|
boundary="----=_Part_4_448096307.1565776340836"
|
|
|
|
------=_Part_4_448096307.1565776340836
|
|
Content-Type: text/html; charset=UTF-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
Content-Location: file:///C:/exported.html
|
|
|
|
<html xmlns:o=3D'urn:schemas-microsoft-com:office:office'
|
|
xmlns:w=3D'urn:schemas-microsoft-com:office:word'
|
|
xmlns:v=3D'urn:schemas-microsoft-com:vml'
|
|
xmlns=3D'urn:w3-org-ns:HTML'>
|
|
<head>
|
|
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
|
|
">
|
|
<title>Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=BD=AE</title>
|
|
<!--[if gte mso 9]>
|
|
<xml>
|
|
<o:OfficeDocumentSettings>
|
|
<o:TargetScreenSize>1024x640</o:TargetScreenSize>
|
|
<o:PixelsPerInch>72</o:PixelsPerInch>
|
|
<o:AllowPNG/>
|
|
</o:OfficeDocumentSettings>
|
|
<w:WordDocument>
|
|
<w:View>Print</w:View>
|
|
<w:Zoom>90</w:Zoom>
|
|
<w:DoNotOptimizeForBrowser/>
|
|
</w:WordDocument>
|
|
</xml>
|
|
<![endif]-->
|
|
<style>
|
|
<!--
|
|
@page Section1 {
|
|
size: 8.5in 11.0in;
|
|
margin: 1.0in;
|
|
mso-header-margin: .5in;
|
|
mso-footer-margin: .5in;
|
|
mso-paper-source: 0;
|
|
}
|
|
|
|
table {
|
|
border: solid 1px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table td, table th {
|
|
border: solid 1px;
|
|
padding: 5px;
|
|
}
|
|
|
|
td {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
tr {
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
div.Section1 {
|
|
page: Section1;
|
|
}
|
|
|
|
/* Confluence print stylesheet. Common to all themes for print medi=
|
|
a */
|
|
/* Full of !important until we improve batching for print CSS */
|
|
|
|
@media print {
|
|
#main {
|
|
padding-bottom: 1em !important; /* The default padding of 6em is to=
|
|
o much for printouts */
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, Helvetica, FreeSans, sans-serif;
|
|
font-size: 10pt;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
body, #full-height-container, #main, #page, #content, .has-personal-sid=
|
|
ebar #content {
|
|
background: #fff !important;
|
|
color: #000 !important;
|
|
border: 0 !important;
|
|
width: 100% !important;
|
|
height: auto !important;
|
|
min-height: auto !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
display: block !important;
|
|
}
|
|
|
|
a, a:link, a:visited, a:focus, a:hover, a:active {
|
|
color: #000;
|
|
}
|
|
|
|
#content h1,
|
|
#content h2,
|
|
#content h3,
|
|
#content h4,
|
|
#content h5,
|
|
#content h6 {
|
|
font-family: Arial, Helvetica, FreeSans, sans-serif;
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
pre {
|
|
font-family: Monaco, "Courier New", monospace;
|
|
}
|
|
|
|
#header,
|
|
.aui-header-inner,
|
|
#navigation,
|
|
#sidebar,
|
|
.sidebar,
|
|
#personal-info-sidebar,
|
|
.ia-fixed-sidebar,
|
|
.page-actions,
|
|
.navmenu,
|
|
.ajs-menu-bar,
|
|
.noprint,
|
|
.inline-control-link,
|
|
.inline-control-link a,
|
|
a.show-labels-editor,
|
|
.global-comment-actions,
|
|
.comment-actions,
|
|
.quick-comment-container,
|
|
#addcomment {
|
|
display: none !important;
|
|
}
|
|
|
|
/* CONF-28544 cannot print multiple pages in IE */
|
|
#splitter-content {
|
|
position: relative !important;
|
|
}
|
|
|
|
.comment .date::before {
|
|
content: none !important; /* remove middot for print view */
|
|
}
|
|
|
|
h1.pagetitle img {
|
|
height: auto;
|
|
width: auto;
|
|
}
|
|
|
|
.print-only {
|
|
display: block;
|
|
}
|
|
|
|
#footer {
|
|
position: relative !important; /* CONF-17506 Place the footer at en=
|
|
d of the content */
|
|
margin: 0;
|
|
padding: 0;
|
|
background: none;
|
|
clear: both;
|
|
}
|
|
|
|
#poweredby {
|
|
border-top: none;
|
|
background: none;
|
|
}
|
|
|
|
#poweredby li.print-only {
|
|
display: list-item;
|
|
font-style: italic;
|
|
}
|
|
|
|
#poweredby li.noprint {
|
|
display: none;
|
|
}
|
|
|
|
/* no width controls in print */
|
|
.wiki-content .table-wrap,
|
|
.wiki-content p,
|
|
.panel .codeContent,
|
|
.panel .codeContent pre,
|
|
.image-wrap {
|
|
overflow: visible !important;
|
|
}
|
|
|
|
/* TODO - should this work? */
|
|
#children-section,
|
|
#comments-section .comment,
|
|
#comments-section .comment .comment-body,
|
|
#comments-section .comment .comment-content,
|
|
#comments-section .comment p {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
#page-children a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/**
|
|
hide twixies
|
|
|
|
the specificity here is a hack because print styles
|
|
are getting loaded before the base styles. */
|
|
#comments-section.pageSection .section-header,
|
|
#comments-section.pageSection .section-title,
|
|
#children-section.pageSection .section-header,
|
|
#children-section.pageSection .section-title,
|
|
.children-show-hide {
|
|
padding-left: 0;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.children-show-hide.icon {
|
|
display: none;
|
|
}
|
|
|
|
/* personal sidebar */
|
|
.has-personal-sidebar #content {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.has-personal-sidebar #content .pageSection {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.no-print, .no-print * {
|
|
display: none !important;
|
|
}
|
|
}
|
|
-->
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=BD=AE</h1>
|
|
<div class=3D"Section1">
|
|
<p>=E7=8E=AF=E5=A2=83=EF=BC=9A</p>
|
|
<p> CentOS 7.3 x64</p>
|
|
<p><br></p>
|
|
<h3 id=3D"Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=BD=AE-=E5=8D=B8=E8=BD=BD=E6=
|
|
=97=A7=E7=89=88Docker">=E5=8D=B8=E8=BD=BD=E6=97=A7=E7=89=88Docker</h3>
|
|
<div class=3D"code panel pdl" style=3D"border-width: 1px;">=20
|
|
<div class=3D"codeHeader panelHeader pdl hide-border-bottom">=20
|
|
<b class=3D"code-title"></b>=20
|
|
<span class=3D"collapse-source expand-control" style=3D"display:none;"><spa=
|
|
n class=3D"expand-control-icon icon"> </span><span class=3D"expand-con=
|
|
trol-text">=E5=B1=95=E5=BC=80=E6=BA=90=E7=A0=81</span></span>=20
|
|
<span class=3D"collapse-spinner-wrapper"></span>=20
|
|
</div>=20
|
|
<div class=3D"codeContent panelContent pdl hide-toolbar">=20
|
|
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
|
|
: bash; gutter: true; theme: Confluence; collapse: true" data-theme=3D"Conf=
|
|
luence">yum -y remove docker docker-client docker-client-latest docker-comm=
|
|
on docker-latest docker-latest-logrotate docker-logrotate docker-selinux do=
|
|
cker-engine-selinux docker-engine</pre>=20
|
|
</div>=20
|
|
</div>
|
|
<h3 class=3D"auto-cursor-target" id=3D"Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=
|
|
=BD=AE-=E5=AE=89=E8=A3=85=E5=BF=85=E8=A6=81=E4=BE=9D=E8=B5=96=E5=8C=85">=E5=
|
|
=AE=89=E8=A3=85=E5=BF=85=E8=A6=81=E4=BE=9D=E8=B5=96=E5=8C=85</h3>
|
|
<div class=3D"code panel pdl" style=3D"border-width: 1px;">=20
|
|
<div class=3D"codeHeader panelHeader pdl hide-border-bottom">=20
|
|
<b class=3D"code-title"></b>=20
|
|
<span class=3D"collapse-source expand-control" style=3D"display:none;"><spa=
|
|
n class=3D"expand-control-icon icon"> </span><span class=3D"expand-con=
|
|
trol-text">=E5=B1=95=E5=BC=80=E6=BA=90=E7=A0=81</span></span>=20
|
|
<span class=3D"collapse-spinner-wrapper"></span>=20
|
|
</div>=20
|
|
<div class=3D"codeContent panelContent pdl hide-toolbar">=20
|
|
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
|
|
: bash; gutter: true; theme: Confluence; collapse: true" data-theme=3D"Conf=
|
|
luence">yum install -y yum-utils device-mapper-persistent-data lvm2</pre>=
|
|
=20
|
|
</div>=20
|
|
</div>
|
|
<h3 class=3D"auto-cursor-target" id=3D"Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=
|
|
=BD=AE-=E6=B7=BB=E5=8A=A0yum=E6=BA=90">=E6=B7=BB=E5=8A=A0yum=E6=BA=90</h3>
|
|
<div class=3D"code panel pdl" style=3D"border-width: 1px;">=20
|
|
<div class=3D"codeHeader panelHeader pdl hide-border-bottom">=20
|
|
<b class=3D"code-title"></b>=20
|
|
<span class=3D"collapse-source expand-control" style=3D"display:none;"><spa=
|
|
n class=3D"expand-control-icon icon"> </span><span class=3D"expand-con=
|
|
trol-text">=E5=B1=95=E5=BC=80=E6=BA=90=E7=A0=81</span></span>=20
|
|
<span class=3D"collapse-spinner-wrapper"></span>=20
|
|
</div>=20
|
|
<div class=3D"codeContent panelContent pdl hide-toolbar">=20
|
|
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
|
|
: bash; gutter: true; theme: Confluence; collapse: true" data-theme=3D"Conf=
|
|
luence">yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/l=
|
|
inux/centos/docker-ce.repo</pre>=20
|
|
</div>=20
|
|
</div>
|
|
<h3 class=3D"auto-cursor-target" id=3D"Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=
|
|
=BD=AE-=E5=AE=89=E8=A3=85Docker-ce">=E5=AE=89=E8=A3=85Docker-ce</h3>
|
|
<div class=3D"code panel pdl" style=3D"border-width: 1px;">=20
|
|
<div class=3D"codeHeader panelHeader pdl hide-border-bottom">=20
|
|
<b class=3D"code-title"></b>=20
|
|
<span class=3D"collapse-source expand-control" style=3D"display:none;"><spa=
|
|
n class=3D"expand-control-icon icon"> </span><span class=3D"expand-con=
|
|
trol-text">=E5=B1=95=E5=BC=80=E6=BA=90=E7=A0=81</span></span>=20
|
|
<span class=3D"collapse-spinner-wrapper"></span>=20
|
|
</div>=20
|
|
<div class=3D"codeContent panelContent pdl hide-toolbar">=20
|
|
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
|
|
: bash; gutter: true; theme: Confluence; collapse: true" data-theme=3D"Conf=
|
|
luence">yum makecache fast
|
|
yum install docker-ce</pre>=20
|
|
</div>=20
|
|
</div>
|
|
<h3 class=3D"auto-cursor-target" id=3D"Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=
|
|
=BD=AE-=E5=90=AF=E5=8A=A8Docker">=E5=90=AF=E5=8A=A8Docker</h3>
|
|
<div class=3D"code panel pdl" style=3D"border-width: 1px;">=20
|
|
<div class=3D"codeHeader panelHeader pdl hide-border-bottom">=20
|
|
<b class=3D"code-title"></b>=20
|
|
<span class=3D"collapse-source expand-control" style=3D"display:none;"><spa=
|
|
n class=3D"expand-control-icon icon"> </span><span class=3D"expand-con=
|
|
trol-text">=E5=B1=95=E5=BC=80=E6=BA=90=E7=A0=81</span></span>=20
|
|
<span class=3D"collapse-spinner-wrapper"></span>=20
|
|
</div>=20
|
|
<div class=3D"codeContent panelContent pdl hide-toolbar">=20
|
|
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
|
|
: bash; gutter: true; theme: Confluence; collapse: true" data-theme=3D"Conf=
|
|
luence">systemctl enable docker
|
|
systemctl start docker</pre>=20
|
|
</div>=20
|
|
</div>
|
|
<h3 class=3D"auto-cursor-target" id=3D"Docker=E5=AE=89=E8=A3=85=E9=85=8D=E7=
|
|
=BD=AE-=E6=9F=A5=E7=9C=8BDocker=E7=89=88=E6=9C=AC">=E6=9F=A5=E7=9C=8BDocker=
|
|
=E7=89=88=E6=9C=AC</h3>
|
|
<div class=3D"code panel pdl" style=3D"border-width: 1px;">=20
|
|
<div class=3D"codeHeader panelHeader pdl hide-border-bottom">=20
|
|
<b class=3D"code-title"></b>=20
|
|
<span class=3D"collapse-source expand-control" style=3D"display:none;"><spa=
|
|
n class=3D"expand-control-icon icon"> </span><span class=3D"expand-con=
|
|
trol-text">=E5=B1=95=E5=BC=80=E6=BA=90=E7=A0=81</span></span>=20
|
|
<span class=3D"collapse-spinner-wrapper"></span>=20
|
|
</div>=20
|
|
<div class=3D"codeContent panelContent pdl hide-toolbar">=20
|
|
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
|
|
: bash; gutter: true; theme: Confluence; collapse: true" data-theme=3D"Conf=
|
|
luence">docker version</pre>=20
|
|
</div>=20
|
|
</div>
|
|
<p><br></p>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
------=_Part_4_448096307.1565776340836--
|