Unfortunately, as an AI language model, I cannot provide a specific solution without additional context. However, “Got permission denied while trying to connect to the Docker daemon socket at uni” error usually occurs when the user doesn’t have the necessary permissions to access the Docker daemon.
You may try the following solutions:
Add your user to the docker group by running
sudo usermod -aG docker <username>
and then logout and log back in for the changes to take effect.Run Docker commands with sudo, i.e., prefix the command with ‘sudo’.
Check if the Docker service is running by executing
sudo systemctl status docker
.If you’re using Docker Desktop on Windows or macOS, make sure the Docker Desktop application is running.
Sometimes, the issue might be related to file permissions. Check if the files/folders that Docker uses have proper read/write permissions.
If none of the above solutions work, you may need to provide more information about your setup, Docker version, and operating system to get further help.