![]() Step 2) enter the 'virtual machine' on a Mac, where all the docker containers are running, by using the command in relation to Justin Cormack's repo : docker run -it -rm -privileged -pid=host justincormack/nsenter1 one called 'database': docker container top database Step 1) show the processes running in a specific container, e.g. I don't actually understand the details of Justin's solution, but I managed to achieve what the OP is asking for: to see the processes running inside the docker containers running on the host machine, which is a virtual machine that Docker uses on macOS. I'm a complete Docker noobie, but a Docker course on Udemy by Bret Fisher mentions this problem on macOS and points to a solution by Justin Cormack. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |