9 12 2018
Docker is a computer program that performs operating-system-level virtualization, also known as "containerization". And this is the easiest way to get docker installed on your Debian OS. This involves downloading the .deb
file for your release and install it manually. You may need to download a new file each time you want to upgrade Docker.
Go to https://download.docker.com/linux/debian/dists/, choose your Debian version, browse to pool/stable/
, choose either amd64
or armhf
, and download the .deb
file for the Docker CE(Community Edition) version you want to install.
Install Docker CE, changing the path below to the path where you downloaded the Docker package.
$ sudo dpkg -i /path/to/package.deb
Verify that Docker CE is installed correctly by running docker version
Disable docker running at startup.
$ sudo systemctl disable docker.service
$ sudo systemctl disable docker.socket
Use systemctl start docker.service
to start docker manually when you need.
Install docker-compose
by pip install docker-compose