mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 06:55:36 +08:00
13 lines
539 B
HTML
13 lines
539 B
HTML
<h1>Docker push 命令</h1>
|
||
<p><strong>docker push : </strong>将本地的镜像上传到镜像仓库,要先登陆到镜像仓库</p>
|
||
<h3>语法</h3>
|
||
<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><code class="language-Docker">docker push myapache:v1</code></pre>
|
||
<!-- 其他扩展 -->
|