Ok, well I think I might use pipelines as code. But i also tried to execute 
a docker command from the agent container itself (i.e. docker exec -it -u 
go <machine> bash). Sadly it has returned with:

bash-5.0$ /bin/bash -c "docker images"
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.40/images/json: dial unix 
/var/run/docker.sock: connect: permission denied

I think it has to be an issue with the user "go" regarding to have access 
to the docker socket.

Any suggestion?

On Wednesday, January 29, 2020 at 3:31:46 PM UTC+3, Michael Mann wrote:
>
> You will need to use pipelines as code until the bug is fixed in the next 
> release.  You can see the problem if you export your pipelines and look at 
> the yaml file.  There is an extra carriage return inserted that is causing 
> the failure 

-- 
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/2825bfb9-602d-4cb0-bf2f-0db2222f613e%40googlegroups.com.

Reply via email to