docker语法高亮

This commit is contained in:
fofolee
2019-05-07 10:37:34 +08:00
parent 2bf87e1e25
commit 6ae6134047
32 changed files with 117 additions and 117 deletions

View File

@@ -1,12 +1,12 @@
<h1>Docker push 命令</h1>
<p><strong>docker push : </strong>将本地的镜像上传到镜像仓库,要先登陆到镜像仓库</p>
<h3>语法</h3>
<pre>docker push [OPTIONS] NAME[:TAG]</pre>
<pre><code class="language-Docker">docker push [OPTIONS] NAME[:TAG]</code></pre>
<p>OPTIONS说明</p>
<ul>
<li><p><strong>--disable-content-trust :</strong>忽略镜像的校验,默认开启</p></li>
</ul>
<h3>实例</h3>
<p>上传本地镜像myapache:v1到镜像仓库中。</p>
<pre>docker push myapache:v1</pre>
<pre><code class="language-Docker">docker push myapache:v1</code></pre>
<!-- 其他扩展 -->