infrastructure//Docker
Docker is a containerization platform that packages an application with its dependencies into containers isolated from the host OS, so that the same software runs the same way on every machine. The containerization model trades a little overhead for massive portability and reproducibility.
Docker is a containerization platform that packages an application with its dependencies into containers isolated from the host OS, so that the same software runs the same way on every machine. The containerization model trades a little overhead for massive portability and reproducibility.
Docker ships the entire kitchen along with the recipe.
The dish is guaranteed to taste the same on every machine.
Images are immutable blueprints, and containers are running instances of those images.
docker run creates a container from an image, and the image itself never changes.
Each container lives in its own isolated network namespace by default, and a Docker network is what lets containers reach each other.
Docker is the tool; the isolation is the Linux kernel's. A Docker container is a container built from namespaces, cgroups and seccomp, sharing the host's kernel, which is why it starts in milliseconds and why it is a lighter wall than a virtual machine.
In blockchain it eliminates the works on my machine problem: everyone runs the exact same Besu binary.