Reading this question, I understood that containers use a base image (like ubuntu) for root filesystem. Now my question is if is necessary to download a base image, if I have exactly the same OS (like ubuntu 14.04).
Is that base image redundant?
Reading this question, I understood that containers use a base image (like ubuntu) for root filesystem. Now my question is if is necessary to download a base image, if I have exactly the same OS (like ubuntu 14.04).
Is that base image redundant?
No you can't. It is necessary to download or create a base image to create a docker container.
From the docker documentation:
To make a docker container independent from any specific infrastructure it is necessary to provide a base image.
But it is quite easy to create a base image on your own. Have a look in the docker documentation for instructions.
If your are looking for Operating-system-level virtualization with only partial filesystem isolation you should check if
chroot
matches your requirements.You should also have in mind that docker
So the overhead is not too high as the images are layered.