ERROR: Couldn't connect to Docker daemon - Ubuntu 20.04 fresh build

Hi folks,

I’m attempting to install on a fresh Ubuntu 20.04 build and I’m getting the following:

Checking for docker… OK
Checking for git… OK
Checking for docker-compose… OK
Starting WebODM…
Using the following environment:
================================
Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1
================================
Make sure to issue a ./webodm.sh down if you decide to change the environment.
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml start || docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up --scale node-odm=1
ERROR: Couldn’t connect to Docker daemon - you might need to run docker-machine start default.
ERROR: Couldn’t connect to Docker daemon - you might need to run docker-machine start default.

What should I do next?

Have you tried adding your user to the docker group?

$ sudo apt update
$ docker-compose --version
$ sudo usermod -aG docker $USER
$ newgrp docker

Test your docker before running WebODM:

$ docker run hello-world

and then just run WebODM again

$ cd WebODM
$ ./webodm.sh start

2 Likes

It worked! Thanks Mel!