difof opened 1 year ago
|
|||||
Have you checked the option "mount docker sock" in the job executor? By default it is not mounted for safely reason. |
|||||
difof changed state to 'Closed' 1 year ago
|
|||||
@robin Added the executor and it worked! Thank you |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Affected Versions |
Not Found
|
Issue Votes (0)
Hello. Onedev build was working fine until I changed BUT reverted my docker service at
/lib/systemd/system/docker.service
to open docker's tcp API. Docker wasn't starting on a few times of doingsystemctl restart docker
. Now I reverted the service, the/var/run/docker.sock
is there and I can run my compose file with onedev in it. But the onedev's build saysCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I'm just doing adocker build
job after checkout.The docker socket is mounted on onedev's service and it's not readonly. It was working before but now it doesn't. What could be the problem?