mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2025-09-21 21:30:48 +02:00
docs(zh-cn): List all containers with a specified image
This commit is contained in:
parent
e70b7981d5
commit
4c18fd3826
1 changed files with 6 additions and 0 deletions
|
@ -605,6 +605,12 @@ docker stats $(docker ps -q)
|
|||
docker stats $(docker ps --format '{{.Names}}')
|
||||
```
|
||||
|
||||
按指定镜像名称列出所有容器:
|
||||
|
||||
```
|
||||
docker ps -a -f ancestor=ubuntu
|
||||
```
|
||||
|
||||
## 贡献手册(Contributing)
|
||||
|
||||
这是关于如何为这份速查表做贡献的说明。
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue