i had to re-install my suse linux tumbleweed system, after a meltdown.
i had to re-install docker as well and am now having difficulty getting it running. I’m completely lost and out of my depth, if any one can help:
i think i’ve installed docker engine (to give a cli interface), and i’ve installed docker-compose.
one problem is that docker commands seem to need root to run, and i’d like to run it as a non root user. e.g. docker ps for a user gives
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get “http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json”: dial unix /var/run/docker.sock: connect: permission denied
anyway, if i run ‘su’ to go into su mode and try docker ps i then get
docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I have no idea how to get docker deamon running, or check if it is - i think this is then giving me problems further down the line when i try a docker-compose up.
localhost:/home/ruth/software/OpenEMR/openemr/docker/development-easy # docker-compose up
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
if anyone can give me guidance, i’d appreciate it, meanwhile i’ll keep trying to read the docker documentation etc. thanks.