Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f077543

Browse files
author
anaer
authored
Update Docker从入门到实战.md
typo
1 parent ac930c3 commit f077543

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎docs/tools/Docker从入门到实战.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### 什么是 Docker?
44

5-
说实话关于 Docker 是什么并太好说,下面我通过四点向你说明 Docker 到底是个什么东西。
5+
说实话关于 Docker 是什么并不太好说,下面我通过四点向你说明 Docker 到底是个什么东西。
66

77
- Docker 是世界领先的软件容器平台,基于 **Go 语言** 进行开发实现。
88
- Docker 能够自动执行重复性任务,例如搭建和配置开发环境,从而解放开发人员。
@@ -213,7 +213,7 @@ MySQL 5.7.32 f07dfa83b528 11 days ago 448MB
213213
MySQL 5.5 d404d78aa797 20 months ago 205MB
214214
```
215215

216-
该指令还能够携带`-p`参数:`docker images -q` , `-q`表示仅显示镜像的 id:
216+
该指令还能够携带`-q`参数:`docker images -q` , `-q`表示仅显示镜像的 id:
217217

218218
```shell
219219
[root@izrcf5u3j3q8xaz ~]# docker images -q
@@ -282,7 +282,7 @@ docker image rm -f bf756fb1ae65
282282

283283
Docker 还提供了删除镜像的简化版本:`docker rmi 镜像名:版本标志`
284284

285-
此时我们即可借助`rmi``-p`进行一些联合操作,比如现在想删除所有的 MySQL 镜像,那么你需要查询出 MySQL 镜像的 id,并根据这些 id 一个一个地执行`docker rmi`进行删除,但是现在,我们可以这样:
285+
此时我们即可借助`rmi``-q`进行一些联合操作,比如现在想删除所有的 MySQL 镜像,那么你需要查询出 MySQL 镜像的 id,并根据这些 id 一个一个地执行`docker rmi`进行删除,但是现在,我们可以这样:
286286

287287
```shell
288288
docker rmi -f $(docker images MySQL -q)
@@ -632,4 +632,4 @@ Loaded image: my_tomcat:1.0
632632
[root@centos-7 ~]# docker images
633633
REPOSITORY TAG IMAGE ID CREATED SIZE
634634
my_tomcat 1.0 79ab047fade5 7 minutes ago 463MB
635-
```
635+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /