mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-02-26 00:51:25 +08:00
docker语法高亮
This commit is contained in:
@@ -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>
|
||||
<!-- 其他扩展 -->
|
||||
|
||||
Reference in New Issue
Block a user