How to install docker on Debian, Ubuntu and Kali Linux and any Debian derivative .

Docker is what allows you to package an application with all of its dependencies into a standardized unit for software development.
Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries – anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in.
Following are key things to note about docker:

  1. Docker containers are based on open standards allowing containers to run on all major Linux distributions and Microsoft operating systems with support for every infrastructure.
  2. Docker gives developers the freedom to define environments, and create and deploy apps faster and easier, and flexibility for IT ops to quickly respond to change.
  3. Containers isolate applications from each other and the underlying infrastructure while providing an added layer of protection for the application.
  4. Each virtual machine includes the application, the necessary binaries and libraries and an entire guest operating system – all of which may be tens of GBs in size.
  5. Containers include the application and all of its dependencies, but share the kernel with other containers. They run as an isolated process in userspace on the host operating system. They’re also not tied to any specific infrastructure – Docker containers run on any computer, on any infrastructure and in any cloud.
  6. Docker gives you choice without complexity, from a laptop to a team, to private infrastructure and public cloud providers.

Among many more. Here are few steps to follow to get docker running on any debian derivative,
1) Download latest Docker binary from official site.

  wget -O /usr/bin/docker

2)Download init.d script

curl -o /etc/init.d/docker

3) Make the two files executable

chmod +x /usr/bin/docker /etc/init.d/docker

4) Add group docker to your system

addgroup docker

5) Make docker run on computer startup

update-rc.d -f docker defaults

6) Socket binding

cat << EOF > /etc/default/docker
DOCKER_OPTS="-H -H unix:///var/run/docker.sock"

7) Start docker and make sure that it is successfully installed.

service docker start

Run command below to see version of docker installed.

# docker version
# docker info

That’s all. Hope this was helpful.
How to get docker running on ubuntu
Latest doicker installation on debian and ubuntu
Install latest docker on kali linux
Docker definitive installation for debian derivatives
How to get started with docker on ubuntu and debian
Docker autostart

  • Richard freel

    content not found,are you sure the url is correct?