If you have Docker up and running and get the following error, please read on:Documentation Index
Fetch the complete documentation index at: https://docs.phidata.com/llms.txt
Use this file to discover all available pages before exploring further.
Quick fix
Create the/var/run/docker.sock symlink using:
Full details
Phidata uses docker-py to run containers, and if the/var/run/docker.sock is missing or has incorrect permissions, it cannot connect to docker.
To fix, please create the /var/run/docker.sock file using:
ls -l /var/run/docker.sock.
If the /var/run/docker.sock does not exist, check if the $HOME/.docker/run/docker.sock file is missing. If its missing, please reinstall Docker.
If none of this works and the /var/run/docker.sock exists:
- Give your user permissions to the
/var/run/docker.sockfile:
- Give your user permissions to the docker group: