Docker is a containerization platform that allows you to quickly build, test and deploy applications as portable, self-sufficient containers that can run virtually anywhere.
In this tutorial, we’ll explain how to install Docker on Debian 10 Buster and explore the basic Docker concepts and commands.
Perform the following steps to install the latest stable Docker version from the Docker’s repositories.
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg2
[curl](https://linuxize.com/post/curl-command-examples/)
command :curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
OK
.sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
_$(lsb_release -cs)_
_ will return the name of the Debian distribution . In this case, that is _buster_
._apt
package list and install the latest version of Docker CE (Community Edition):sudo apt update
sudo apt install docker-ce
sudo systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-07-30 20:52:00 GMT; 1min 11s ago
Docs: https://docs.docker.com
...
19.03.1
:docker -v
Docker version 19.03.1, build 74b1e89
#docker #debian #linux #debian 10 buster