I found out when using DooD in GoCD we just only need to add 

/var/run/docker.sock:/var/run/docker.sock

as a volume to the current agent container as clearly defined and written 
in the official documentation: 
https://docs.gocd.org/current/gocd_on_kubernetes/docker_workflows.html.

What I couldn't understand is, even though I've added that volume I 
couldn't run docker commands using the command: "/bin/bash", arguments: -c 
\n docker image within the task of goCD server.

Now, I'm wondering if there is clear documentation or steps to make the 
GoCD agent able to pass a docker commands to the host machine.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/5b71adce-3d8c-425f-be81-c2b534dfb99e%40googlegroups.com.

Reply via email to