docker中能否查看到容器是从哪个镜像启动的?
PHPz
PHPz 2017-04-21 10:58:04
0
1
729

如题,一般来说一台docker机器上会运行许多个容器,那么我如何知道container是从哪个image启动来的呢?

PHPz
PHPz

学习是最好的投资!

reply all(1)
大家讲道理

As follows, IMAGE is it

# docker ps -a
CONTAINER ID        IMAGE                  COMMAND             CREATED             STATUS                   PORTS                     NAMES
a4b3bba4a28e        ubuntu:latest   "/bin/bash"         5 weeks ago         Up 5 weeks               0.0.0.0:14000->9000/tcp   test 
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template