If you have set the permissions properly so that the go user can talk to the docker daemon over the socket, then perhaps you need to restart the go-agent service.
- Ketan On Mon, Jan 21, 2019 at 10:39 AM <[email protected]> wrote: > Hi all > > i tried docker build command and i got this error > > > [go] Task: docker build --no-cache --tag backup:v1.0 --file Dockerfile > .took: 0.72sexited: 1 > Cannot connect to the Docker daemon. Is the docker daemon running on this > host? > > i added my go user to docker group > > and also gave root privileges to go user but still no use > > anyone knows how to rectify the problem? > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
