Update docker documentation authored by Harri Jäntti's avatar Harri Jäntti
......@@ -41,7 +41,9 @@ EXPOSE 8080 25 20 9888 9889 9997 9999 22 2181 9090 9094 9093 9998
A container is an image that is currently running, which usually is a single process. Containers are used to package a piece of software, making it lightweight, stand-alone and executable regardless of the environment. Containers include everything that the program needs to run, like code, runtime, system tools, system libraries, settings. Placing a program into a container isolates it from its surroundings and thus allows it to mitigate differences between different environments, reducing conflicts that might arise between teams running different software on the same infrastructure.
[Piirrä kuva](https://www.docker.com/what-container)
Our containers are illustrated below. We did not include the Kernel level, because it debends on where we want to place the kontainers.
![Piirrä kuva](https://www.dropbox.com/s/e3eyye2n80ty3n3/Docker.html?dl=0)
The major difference between a container and an image is the top writable layer. All writes to the container that add new or modify existing data are stored in this writable layer. When the container is deleted, the writable layer is also deleted. The underlying image remains unchanged.
......
......