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,7 +1,7 @@
<h1>Docker images 命令</h1>
<p><strong>docker images : </strong>列出本地镜像。</p>
<h3>语法</h3>
<pre>docker images [OPTIONS] [REPOSITORY[:TAG]]</pre>
<pre><code class="language-Docker">docker images [OPTIONS] [REPOSITORY[:TAG]]</code></pre>
<p>OPTIONS说明</p>
<ul>
<li><p><strong>-a :</strong>列出本地所有的镜像(含中间映像层,默认情况下,过滤掉中间映像层);</p><p></p></li>
@@ -13,7 +13,7 @@
</ul>
<h3>实例</h3>
<p>查看本地镜像列表。</p>
<pre>runoob@runoob:~$ docker images
<pre><code class="language-Docker">runoob@runoob:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
@@ -36,9 +36,9 @@ php 5.6-fpm 025041cd3aa5 3 weeks ago
...
</pre>
</code></pre>
<p>列出本地镜像中REPOSITORY为ubuntu的镜像列表。</p>
<pre>root@runoob:~# docker images ubuntu
<pre><code class="language-Docker">root@runoob:~# docker images ubuntu
REPOSITORY TAG IMAGE ID CREATED SIZE
@@ -46,4 +46,4 @@ ubuntu 14.04 90d5884b1ee0 9 weeks ago
ubuntu 15.10 4e3b13c8a266 3 months ago 136.3 MB
</pre>
</code></pre>