Home > OS >  Questions about docker why run Linux container inside? Great god science.
Questions about docker why run Linux container inside? Great god science.

Time:09-30

Recent study looking at the docker, see some tutorial mentioned inside the docker running Linux container, since docker already running on Linux, and containers are sharing the Linux kernel, why still need to Linux container, Linux containers can be used to do? Great god science,

CodePudding user response:

Environmental isolation...

CodePudding user response:

Docker running Linux container inside concrete can be done?

CodePudding user response:

1/f, reference on small base reply:
environmental isolation...

Yao docker running Linux container inside concrete can be done?

CodePudding user response:

For example your host environment is java1.8, you need a program that is Java - 1.7.0 Linux environment, without changing your current system environment, use the docker install a 1.7 Linux containers, can achieve environmental isolation, you do all the operations in the container, will not affect the host

CodePudding user response:

The deploy mobile terminal count docker container

CodePudding user response:

reference 4 floor Lz__Heng response:
for example your host environment is java1.8, you need a program that is Java - 1.7.0 Linux environment, without changing your current system environment, use the docker to install a container of Linux 1.7, can achieve environmental isolation, you do all the operations in the container, will not affect the host

Makes sense, then I ask, mirror Linux will is the foundation of other mirror image?

CodePudding user response:

To the mobile phone is not very good

CodePudding user response:

refer to fifth floor safe bronze reply:
deploy mobile terminal count docker container?

To the mobile phone is not very good

CodePudding user response:

reference o f da jie reply:
Quote: refer to 4th floor Lz__Heng response:
for example java1.8 is your host environment, you need a program is a Java - 1.7.0 Linux environment, without changing your current system environment, use the docker to install a 1.7 Linux container, can achieve environmental isolation, you do all the operations in the container, will not affect the host

Makes sense, then I ask, mirror Linux will is the foundation of other mirror image?

Can your this machine is centos you pull base image can pull a centos, can also with Ubuntu

CodePudding user response:

references 9 f Lz__Heng response:
Quote: refer to the sixth floor Ada's reply:

Quote: refer to 4th floor Lz__Heng response:
for example java1.8 is your host environment, you need a program is a Java - 1.7.0 Linux environment, without changing your current system environment, use the docker to install a 1.7 Linux containers, can achieve environmental isolation, you do all the operations in the container, will not affect the host

Makes sense, then I ask, mirror Linux will is the foundation of other mirror image?

Can you this machine is a centos you can pull a centos, when I was in la base image can also pull the Ubuntu

Uh huh, what circumstances need the Linux base image, because when I use the JDK in the mirror and did not go through the mirror image of the Linux projects can be normal operation, or JDK already contains Linux image in the mirror? If contains will occur besides JDK mirror image contains Linux image and also lead to conflict? There is still a little confused,,,,,,,

CodePudding user response:

a reference to the tenth floor, jie reply:
Quote: references 9 f Lz__Heng response:
Quote: refer to the sixth floor Ada's reply:

Quote: refer to 4th floor Lz__Heng response:
for example java1.8 is your host environment, you need a program is a Java - 1.7.0 Linux environment, without changing your current system environment, use the docker to install a 1.7 Linux containers, can achieve environmental isolation, you do all the operations in the container, will not affect the host

Makes sense, then I ask, mirror Linux will is the foundation of other mirror image?

Can you this machine is a centos you can pull a centos, when I was in la base image can also pull the Ubuntu

Uh huh, what circumstances need the Linux base image, because when I use the JDK in the mirror and did not go through the mirror image of the Linux projects can be normal operation, or JDK already contains Linux image in the mirror? If contains will occur besides JDK mirror image contains Linux image and also lead to conflict? There is still a little confused,,,,,,,

All images are separate JDK mirror inside already contains Linux base image
  • Related