Home > other >  An entry-level question, about the host operating system
An entry-level question, about the host operating system

Time:09-15

The docker and the comparison of the virtual machine, said docker need not install system, virtual machine system,

But now many of the image to the from an operating system,

I if you want to achieve a scene as follows:
Physical machine is centos, I want to N the docker tomcat, how to use only the physical machine's operating system?

If the from ubuntu: 18.04, this image is 89 m, I always think it is on the centos running ubuntu, and run in tomcat.

Not to say that can directly use the host system?

CodePudding user response:

Because docker was just a "container", it is the system's resources. Just isolation between containers and container.
You can run as a separate "environment", but it is the operating system.

CodePudding user response:

I know its meaning is a container, I mean the physical machine is ubuntu 18.04, then the docker I can need not the from ubuntu: 18.04,
  • Related