Добрый день,
Почему
docker на
Ubuntu 18.04.1 LTS bionic (Чистый
VPS) выкидывает при запуске -
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.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 ## или sudo docker info
========>
Версия:
$
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Так делал еще
sudo usermod -aG docker ${USER}