Answer the question
In order to leave comments, you need to log in
Why docker on Ubuntu 18.04.1 LTS bionic (Pure VPS) throws - Cannot connect to the Docker daemon on startup?
Hello,
Why is docker on Ubuntu 18.04.1 LTS bionic (Pure VPS ) crashing on startup - docker info :
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
$ history
267 dpkg -l | grep -i docker
268 sudo apt-get purge -y docker-engine docker docker.io docker-ce
269 sudo apt-get autoremove -y --purge docker-engine docker docker docker.io docker-ce
270 sudo rm -rf /var /lib/docker
271 sudo rm /etc/apparmor.d/docker
272 sudo groupdel docker
273 sudo rm -rf /var/run/docker.sock
274 dpkg -l | grep -i docker
276 sudo apt-get update
277 sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
278 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
279 sudo apt-key fingerprint 0EBFCD88
280 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
281 sudo apt-get update
282 sudo apt-get install docker-ce
283 sudo docker run hello-world ## or sudo docker info
========>
Version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic Also
did
sudo usermod -aG docker ${USER}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question