ERROR: Docker socket is missing? Please bind /var/run/docker.sock in your compose file

I’m a beginner in Docker and know the basics.
I’m trying to run CasaOS in Docker on Windows, and I’m getting the following error:

2025-03-22 21:31:14 ❯ ERROR: Docker socket is missing? Please bind /var/run/docker.sock in your compose file.
2025-03-22 21:31:14 ❯ Starting CasaOS for Docker v0.4.15...
2025-03-22 21:31:14 ❯ For support visit https://github.com/dockur/casa/issues

I’ve already searched in many places and couldn’t find a solution. Can anyone help me?

New chat

Hi

Please explain how you are running that container, is this using a docker run command (if so you need to provide the -v flag) or a compose.yaml file (if so you need to provide a volume).

Search for mounting docker.sock on Ggle and you will pléthore of links.

Please note : sharing the docker socket is dangerous. Are you absolutely sure you need to do so ?

Have you tried the image description that shows how you should start a container?

https://hub.docker.com/r/dockurr/casa

I assume you just used Docker Desktop and clicked on the image to start the container using only the GUI.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.