What ACTUALLY is Docker - Deepstash
What ACTUALLY is Docker

What ACTUALLY is Docker

Docker enhances the native Linux containerization technologies which enables:

  • seamless portability: can run natively across any desktop, data center or cloud development
  • granular updates: only one process runs in a container. An application can continue running without a container being taken done
  • automatic container creation: based on application source code
  • container versioning: tracking image versions and roll backs are fast
  • container reuse: base images can be used as templates for nee containers
  • shared container libraries: an open source user contributed container images registry

STASHED IN:

4

Docker is a very powerful tool for development and code deployment. This is what you’re missing to take it to the next level!

📖 Research

STASHED IN:

0 Comments

MORE IDEAS FROM The Power of Docker

Docker tools

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

1

STASHED IN:

4

What is a Container

Think like a Virtual Machine but:

  • light weight
  • great resource efficiency
  • improved developer productivity

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.

STASHED IN:

5

Why it’s actually not a VM

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.

1

STASHED IN:

5

Docker deployment

On the same host:

  • Docker Compose - creates a .yaml which specifies the used containers; can deploy and run containers from a single command; can define persistent volumes for storage, databases and service dependencies;

On different hosts:

You need container orchestration tools.

  • Docker Swarm
  • Kubernetes
  • AWS EKS
  • OpenShift

STASHED IN:

4

What Is Docker?

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.

STASHED IN:

5

Deepstash helps you become inspired, wiser and productive, through bite-sized ideas from the best articles, books and videos out there.

GET THE APP:

RELATED IDEA

What is Docker Swarm and why You Need to Start using it

It’s a cluster comprised of a group of physical and virtual machines running the Docker Engine, these are called nodes.

One of the nodes is elected to be the Leader by using the Raft consensus algorithm. He make all the orchestration decisions for the swarm. In case of failure, a new leader it’s automatically elected.

Manager nodes assign tasks to Worker nodes. They can do some other managerial tasks. You want to have an odd number of managers, for reliability purposes. Having to many managers can degrade performance, it’s recommended to have at most 7.

STASHED IN:

1

So you started development using a Docker architecture but you don’t know how to scale and deploy?

STASHED IN:

0 Comments

JORDAN PETERSON

The purpose of life is finding the largest burden that you can bear and bearing it.

10

STASHED IN:

7

STASHED IN:

0 Comments

FEAR OF DEATH

Fear of death is the most common fear among everyone.

But the question is why do we fear death? 

  • Anything which is not in our experience triggers fears. Unkown things cause restlessness and fear, So we fear death because what is after death is unknown to us.
  • We can also understand the first point in this way, It is not death what most people fear, but the process that precedes it: THE DYING

9

STASHED IN:

10

STASHED IN:

0 Comments