E
E
exernet2018-12-04 19:50:45
Docker
exernet, 2018-12-04 19:50:45

Why can I see processes from a docker container on the host machine?

There are several containers. They have processes running. Am I supposed to see these processes on the target host system? I see them, I can complete them, and then the work of the container is completed. Aren't containers isolated?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-12-05
@q2digger

Because docker containers are not virtual machines. Docker isolates processes in containers so that they (the processes) cannot see the processes of the host system and other containers. He does this with "Kernel namespaces" & "cgroups" .
If you read in English - here is the basic description
https://docs.docker.com/engine/security/security/#...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question