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

后端 未结 7 943
盖世英雄少女心
盖世英雄少女心 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 ps will tell you the processes it's running.

提交回复
热议问题