-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hey
my docker version is 18.03
when i run:
sudo docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock ubirak/docker-php:latest stack:converge bitbucket
I get:
Waiting for stack 'bitbucket' to converge
All services: to stable state
2018-04-04T06:42:58+00:00 [error] Error thrown while running command "stack:converge bitbucket". Message: "The command "docker stack ps bitbucket --format='{{json .}}'" failed.
Exit Code: 1(General error)
Working directory: /home/php/app
Output:
Error Output:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.32/tasks?filters=%7B%22label%22%3A%7B%22com.docker.stack.namespace%3Dbitbucket%22%3Atrue%7D%7D: dial unix /var/run/docker.sock: connect: permission denied
"
In ShellDockerClient.php line 32:
The command "docker stack ps bitbucket --format='{{json .}}'" failed.
Exit Code: 1(General error)
Working directory: /home/php/app
Output:
Error Output:
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.32/tasks?filters=%7B%22label%22%3A%7B%22com.docker.stack.namespace%3Dbitbucket%22%3Atrue%7D%7D: dial unix /var/run/docke
r.sock: connect: permission denied
stack:converge [-l|--limit [LIMIT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]