Did you restart your agent process after adding it to the docker group?

On Tue, Jul 12, 2016 at 2:56 PM Hugh Acland <[email protected]> wrote:

> Hi
>
> I am able to connect to the docker daemon fine on the command line using
> the 'go' user. It is in the docker group.
>
> However, when I run a go-cd task I get:
>
>
>
> 05:22:58.321 [go] Start to execute task: <exec command="whoami" />.
> 05:22:58.327 go
> 05:22:58.426 [go] Current job status: passed.
>
> 05:22:58.426 [go] Start to execute task: <exec command="docker" >
> <arg>images</arg>
> </exec>.
> 05:22:58.444 Cannot connect to the Docker daemon. Is the docker daemon 
> running on this host?
> 05:22:58.572 [go] Current job status: failed.
>
>
> As you can see, the agent is definitely running as the 'go' user.
>
> What is going on here? Thanks for all your help
>
> --
> 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.

Reply via email to