Get docker container id from container name

后端 未结 9 1662
無奈伤痛
無奈伤痛 2020-12-12 11:48

What is the command to get the docker container id from the container name?

9条回答
  •  失恋的感觉
    2020-12-12 12:19

    I tried sudo docker container stats, and it will give out Container ID along with details of memory usage and Name, etc. If you want to stop viewing the process, do Ctrl+C. I hope you find it useful.

提交回复
热议问题