Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

后端 未结 3 2053
孤独总比滥情好
孤独总比滥情好 2020-12-16 12:07

I am trying to run my Docker commands, but I am facing the notification error in the title. I tried running:

ps auxww | grep docker

but sti

3条回答
  •  星月不相逢
    2020-12-16 12:48

    If you can verify that the docker daemon is running then it may be that your user is not allowed to access docker.

    To do this add yourself to the docker group.

    sudo usermod -aG docker 
    

    Remember to do a re-login or otherwise apply/activate the new group permission.

    newgrp docker
    

提交回复
热议问题