简体   繁体   中英

Cannot connect to the Docker daemon. Manjaro

everyone!

i installed docker, docker-compose, then executed next commands:

`
sudo systemctl start docker.service
sudo systemctl status docker.service
sudo systemctl enable docker.service
sudo usermod -aG docker $USER
docker run hello-world`  

OS: Manjaro, Archlinux

error: Server: ERROR: Cannot connect to the Docker daemon at unix:. Is the docker daemon running?

ALREADY TRY A LOT!! Daemon won't start!

Try export DOCKER_HOST=unix:///var/run/docker.sock , then run docker run hello-world again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM