doc: update docker.md.

This commit is contained in:
jaywcjlove 2022-11-07 09:41:57 +08:00
parent 8c79a648a4
commit 6c89718254

View File

@ -134,6 +134,7 @@ Docker 镜像
<!--rehype:body-class=cols-2--> <!--rehype:body-class=cols-2-->
### 操控 ### 操控
<!--rehype:wrap-class=row-span-2-->
| `Example` | Description | | `Example` | Description |
|-----------|-----------| |-----------|-----------|
@ -159,6 +160,12 @@ $ docker build -f myOtherDockerfile .
$ curl example.com/remote/Dockerfile | docker build -f - . $ curl example.com/remote/Dockerfile | docker build -f - .
``` ```
### 删除 \<none> 镜像
```bash
$ docker rmi -f $(docker images | grep "none" | awk '{print $3}')
```
Docker 网络 Docker 网络
---- ----
<!--rehype:body-class=cols-2--> <!--rehype:body-class=cols-2-->