Home > other >  In the virtual machine deployment docker, and in the docker running mysql installation
In the virtual machine deployment docker, and in the docker running mysql installation

Time:10-01

In virtual machine deployment docker, and in the docker running mysql installation, how the process is exposed to the host machine, and not in the docker environment?

the problem from the CSDN Docker communication technology group (303806405), by the moderator xinshubiao,

CodePudding user response:

Your question comes down to LXC principle, because the docker is based on the LXC

the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,

CodePudding user response:

The namespace issue,

the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,

CodePudding user response:

Process is in the host machine, it's just the docker isolating resources, docker with Kernel Namespaces isolation, with Control Groups limited resources

the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,

CodePudding user response:

Docker on an article about security also talked a little bit of this, I have translated the pid namespace is the process of different users through the pid is isolated from the namespace, and in a different namespace can have the same pid, all in the parent process for the docker docker LXC process, each LXC process with a different namespace, at the same time by allowing nested, therefore can easily realize the docker in docker,

the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,
  • Related