What does ubuntu docker image have?

Hi,

I am new to docker. Prior to this I have only used virtual envs for my project environments my understanding about docker is that they are even more flexible in the sense that they have a dedicated OS for each container and we can run as many containers on a host system.

So I would like to know why does containers not require driver installation ? How do they use GPU without installing drivers separately on each container?

How are we able to build images so quickly as opposed to installing OS on a new system?

What does these images contains?

What do they share with the host OS kernel ? And how is it addressed in case of containers running on host OS different from container's?

submitted by /u/namuchan95
[link] [comments]
Source: Reddit