Im new to docker and i have some questions about understanding images.
I pulled the latest ubuntu image. (ubuntu:latest) (Virtual size 188 MB)
I started a container of this image and installed some stuff (for example some servers, mysql etc) (Virtual size 1GB)
3)= I pushed my container to my registry (lets name it ubuntu:base)
Now i pull my ubuntu:base, start a container and deploy some stuff to the servers and commit it to my registry as ubuntu:version1 (Virtual size now 1.2GB)
Now i start a container of my ubuntu:base again and deploy some newer stuff to the servers and commit it to my registry as ubuntu:version2 (Virtual size 1.2 GB)
When i am now on an other machine and i pull first ubuntu:version1 he will download 1,2GB
When i now pull ubuntu:version 2 does he download the diff between base and version2 or does he download the full version2 image with 1,2 GB ?
I was thinking about creating images with my buildserver where i store the build releases of my application, so that i can just pull the newest image on my server and start the container.
Thanks alot and best regards,