I have Docker installed on my Ubuntu server. I installed Docker during the install service of Ubuntu. This has not been a problem for me at all until I tried to get the Portainer Agent working. The agent will not start properly and gives the below error.
2024/09/19 02:09AM FTL ./main.go:93 > unable to retrieve information from Docker | error="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
From what I have read on the web this is related to the fact that Docker was installed via snap but I have not found a way to fix this. I'm hoping I do not need to uninstall Docker and loose all the work I have done.