uTools-Manuals/docs/docker/docker version.html
2019-05-07 10:37:34 +08:00

44 lines
790 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1>Docker version 命令</h1>
<p>docker version :显示 Docker 版本信息。</p>
<h3>语法</h3>
<pre><code class="language-Docker">docker version [OPTIONS]</code></pre>
<p>OPTIONS说明</p>
<ul>
<li><p><strong>-f :</strong>指定返回值的模板文件。</p><p></p></li>
</ul>
<h3>实例</h3>
<p>显示 Docker 版本信息。</p>
<pre><code class="language-Docker">$ docker version
Client:
Version: 1.8.2
API version: 1.20
Go version: go1.4.2
Git commit: 0a8c2e3
Built: Thu Sep 10 19:19:00 UTC 2015
OS/Arch: linux/amd64
Version: 1.8.2
API version: 1.20
Go version: go1.4.2
Git commit: 0a8c2e3
Built: Thu Sep 10 19:19:00 UTC 2015
OS/Arch: linux/amd64
</code></pre>