How to find all image tags of a running Docker container?

前端 未结 4 861
没有蜡笔的小新
没有蜡笔的小新 2021-02-19 10:18

I have a bunch of Docker containers running on a server and I used the \"latest\" tag or no tag at all for all of them. Now I want to freeze the image versions, but I have no id

4条回答
  •  隐瞒了意图╮
    2021-02-19 10:58

    The docker inspect command can be used for this. You can take a look at the answer here https://stackoverflow.com/a/54075889/8113039

提交回复
热议问题