Keep reading for FREE
On the same host:
On different hosts:
You need container orchestration tools.
Docker enhances the native Linux containerization technologies which enables:
Containers don’t come with the weight of a full OS image and a hypervisor.
Containers include only OS processes and dependencies necessary to execute the code inside them.
Containers occupy less space(MBs not GBs) which means you can run multiple copies of the same application on the same hardware.
Containers are faster and easier to deploy, provision and restart. This make them ideal for CI/CD pipelines and a better fit for Agile development teams.
Think like a Virtual Machine but:
Where containers differ from VMs is the fact that they take advantage of the Linux kernel which comes with process isolation and virtualization capabilities.
These capabilities are control groups(allocating resources), and namespaces(restricting a processes access to other areas of the system).
Some real world examples would be the fact that a container has a specific place on the ship and a container lock, which keeps everything secure inside it.
DockerFile - every container has one and states the instructions for building the container’s image. It consists in command-line instructions;
Docker images - contains executable source code, libs and dependencies the code needs; Read-only file; A Docker image can be build from scratch, most developers reuse common ones from repositories;
Docker containers - the live and running instance of the Docker image; Ephemeral, users can interact with them, run commands and adjust settings using docker commands
Docker registry - open source distribution system and versioning using git
Docker is an open source containerization toolkit which enables developers to package applications into containers.
As the name suggests, Docker is like a container ship which provides means to sort, link, manage and ship containers from a development setup into production.
reading habits, gather your
remember what you readand stay ahead of the crowd!
Save time with daily digests
No ads, all content is free
Save ideas & add your own
Get access to the mobile app
4.7 App Rating
Docker is a very powerful tool for development and code deployment. This is what you’re missing to take it to the next level!
MORE LIKE THIS
Kinda what I do in debates
So you started development using a Docker architecture but you don’t know how to scale and deploy?