Docker Community Forums

Share and learn in the Docker community.

Debian 10 not booting up after docker installation

Greetings Everyone,

Not sure if anyone experienced the following:
On a freshly installed Debian 10, I installed the Docker following the steps in the Docker’s documentation and Debian stopped booting up at the stage of starting of Gnome, just hang in the command line forever and does not react to any stimuli (e.g. switching to another terminal or any keys).
As it was the only packages freshly installed and with further deduction I realized that it might be due to auto starting dockers daemon. After I disabled it from auto start at boot Debian was able to fully boot up into the GUI.
I’m not sure what might cause such a behaviour, and it would be good if I can make Docker start automatically with OS. Would be glad to any ideas shared.

Best Regards, D

Install the packages necessary to add a new repository over HTTPS:

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg2
Import the repository’s GPG key using the following curl command :

curl -fsSL | sudo apt-key add -
On success, the command will return OK.

Add the stable Docker APT repository to your system’s software repository list:

sudo add-apt-repository "deb [arch=amd64] (lsb_release -cs) stable" Copy (lsb_release -cs) will return the name of the Debian distribution . In this case, that is buster.

Update the apt package list and install the latest version of Docker CE (Community Edition):

sudo apt update
sudo apt install docker-ce
Once the installation is completed the Docker service will start automatically. To verify it type in:

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
At the time of writing, the latest stable version of Docker is 19.03.1:

docker -v
Docker version 19.03.1, build 74b1e89