Finding Docker container processes? (from host point of view)

后端 未结 7 912
盖世英雄少女心
盖世英雄少女心 2020-12-07 12:17

I am doing some tests on docker and containers and I was wondering:

Is there a method I can use to find all process associated with a docker container by its name or

相关标签:
7条回答
  • 2020-12-07 13:01

    docker ps will list docker containers that are running.

    docker exec <id|name> ps will tell you the processes it's running.

    0 讨论(0)
提交回复
热议问题