docker ps - show image ID instead of name

前端 未结 3 1745
没有蜡笔的小新
没有蜡笔的小新 2021-02-15 06:46

I display running containers using docker ps command. There is an IMAGE column that shows name of the image that each container was create

3条回答
  •  死守一世寂寞
    2021-02-15 07:21

    I found that docker inspect can be used for this purpose. It displays an image field containing full hash.

提交回复
热议问题