How to install Docker Engine in Debian Jessie Linux

What is Docker Engine?

In short Docker engine is the core part of Docker which creates and executes docker containers. There are some top orchestration tools provided by multiple vendors including Docker’s built-in orchestration. We will cover Orchestration in another article but for now lets concentrate on docker engine.

So If docker engine creates and executes docker containers then what is a docker container?

Docker Container

In short a docker container is an instance of docker image which can be an OS specific image with some configuration in it. These docker images are used to run specific services. For example you don’t want to install Nginx or Node.js services in your local machine and rather run them in some VM (virtual machine) for isolation. The issue with the VM is that it has an overhead of resources consumption, where as docker keeps your services isolated with lowest overhead.

Installing Docker Engine

Make sure you have sudo rights. This article assumes that you want to run docker as a normal user which is safe and good.

To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the “hello-world” image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
https://cloud.docker.com/

For more examples and ideas, visit:
https://docs.docker.com/engine/userguide/