私はubuntu 16.04
を持っていて、docker
とdocker-compose
をインストールしました。私はsudo
なしで実行することはできません。 docker
の場合:ubuntuのドッカーサービスのアクセス許可16.04
docker-compose
ため
docker build -t zizi .
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
:
docker-compose build
Building ui
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.
私が設定する必要が権限とは何ですか?
数日前に同様の問題に直面しました。私はこれを見つけて、その上にステップを実行しました。これがhttps://askubuntu.com/questions/477551/how-can-i-use-docker-without- sudo – rhea