Closed ccsalway closed 6 years ago
Caused by: java.io.IOException: Permission denied
at jnr.unixsocket.UnixSocketChannel.doConnect(UnixSocketChannel.java:94)
Your docker socket needs to be writable by the go
user inside the container, or whatever user is running the gocd server.
I'm marking this as closed, but if you think this is still an issue, please report back and someone can take a look.
I've tried your suggestion. Still the same.
Could it be something to do with docker.sock?
Yes, docker socket means the docker.sock
file.
I gave read+write permission to /var/run/docker.sock
file for go
user and the plugin worked.
I have set up a docker container for gocd-server using alpine and pointed the docker.sock to the host which I've checked is showing in the server container. I've configured the plugin as instructed in the README, setup an agent config and assigned it to a job, but I still get the following error