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:
- 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.
- 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.
- Containers isolate applications from each other and the underlying infrastructure while providing an added layer of protection for the application.
- 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.
- 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.
- 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 http://get.docker.io/builds/Linux/x86_64/docker-latest -O /usr/bin/docker
2)Download init.d script
curl -o /etc/init.d/docker https://raw.githubusercontent.com/dotcloud/docker/master/contrib/init/sysvinit-debian/docker
3) Make the two files executable
chmod +x /usr/bin/docker /etc/init.d/docker
4) Add group docker to your system
5) Make docker run on computer startup
update-rc.d -f docker defaults
6) Socket binding
cat << EOF > /etc/default/docker DOCKER_OPTS="-H 127.0.0.1:4243 -H unix:///var/run/docker.sock" EOF
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