bee-factory icon indicating copy to clipboard operation
bee-factory copied to clipboard

Error: connect ENOENT `/var/run/docker.sock`

Open Aviksaikat opened this issue 2 years ago • 0 comments

Overview

bee-factory is by default trying to connect to the /var/run/docker.sock socket which ignores the current docker environment context.

╰─ $ docker context ls                
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                                 KUBERNETES ENDPOINT   ORCHESTRATOR
default             moby                Current DOCKER_HOST based configuration   unix:///var/run/docker.sock                                           
desktop-linux *     moby                Docker Desktop                            unix:///home/user/.docker/desktop/docker.sock  

Here you can see the docker context is set to desktop-linux but bee-factory was trying to connect to /var/run/docker.sock instead of the current environment context. I had to symlink to make a temporary fix.

System Information

Os: Linux kali 6.5.0-kali3-amd64  Debian 64-bit
Docker version 24.0.7, build afdd53b

Aviksaikat avatar Nov 25 '23 00:11 Aviksaikat