parent
c54297eba3
commit
60712c519e
@ -0,0 +1,38 @@
|
||||
### docker常用命令
|
||||
|
||||
```
|
||||
docker version 版本信息
|
||||
docker info 详细信息
|
||||
docker 命令 -help 帮助命令
|
||||
```
|
||||
|
||||
#### docker帮助文档
|
||||
|
||||
链接:
|
||||
|
||||
[docker | Docker Docs](https://docs.docker.com/reference/cli/docker/)
|
||||
|
||||
#### 镜像命令
|
||||
|
||||
docker images 查看本地镜像
|
||||
|
||||
```
|
||||
lejings@ljs-Ubuntu-desktop:~$ docker images
|
||||
REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||
portainer/portainer-ce latest 0c03664af9ed 4 weeks ago 308MB
|
||||
hello-world latest d2c94e258dcb 20 months ago 13.3kB
|
||||
仓库源 仓库的标签 镜像的id 镜像创建时间 镜像大小
|
||||
|
||||
-a, --all Show all images
|
||||
-q, --quiet Only show image IDs
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
docker search 搜索网络镜像
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
Loading…
Reference in new issue