Docker Community Forums

Share and learn in the Docker community.

Docker daemon issues on fresh Ubuntu server install


(Chinds185a) #1

I have been trying to get docker running on an Ubuntu 18.04 server for a few days now and am just fed up with the process.

However I install docker (latest I followed this: https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository) I always get the error: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

I have googled high and low, I have tried every solution I can find online, I have even done a fresh install of ubuntu server. yet every time I run docker run hello-world or sudo docker run hello-world I am faced with this error.

OS: Ubuntu server - 18.04
App version: Docker-CE latest

Is anyone able to help with this issue.