service-fabric icon indicating copy to clipboard operation
service-fabric copied to clipboard

Failed to connect to docker service

Open brechtvhb opened this issue 5 years ago • 2 comments

Since yesterday we are receiving this error:

GetImageHistory failed for ImageName=xxx.azurecr.io/xxx/web/api:1.0.0-dev.34 with unexpected error. Exception=System.Fabric.FabricException: Failed to connect to DockerService at socket '/var/run/docker.sock'. IsDockerServiceManagedBySF=TrueError=System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (0x80004005): Connection refused /var/run/docker.sock at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress so

Completely rebuilding the cluster solved the issue but it just popped up again. How can we solve this and why does this error suddenly pop up?

We are using Ubuntu 16.04-LTS and running service fabric 7.1.418.1

brechtvhb avatar Jun 18 '20 10:06 brechtvhb

@brechtvhb Are you able to connect to Docker service using the CLI (e.g. docker ps -a) from the shell prompt?

gkhanna79 avatar Jul 28 '20 22:07 gkhanna79

@brechtvhb @gkhanna79 Hi would u be able to share how did u fix this issue?Thanks.

konnomiya avatar Nov 29 '22 00:11 konnomiya