Skip to content

ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. #44

Open
@openHacking

Description

@openHacking

Linux上执行

docker-compose up -d

提示

ERROR: Couldn’t connect to Docker daemon at http+docker://localunixsocket - is it running?
If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

解决

  1. 将当前用户openhacking加入到docker组
sudo gpasswd -a openhacking docker
  1. 用户opensource重新登陆ssh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions