CI configuration for building docker container

1 job for master in 24 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
failed #12
build

00:00:24

 
Name Stage Failure
failed
build Build There is an unknown failure, please try again
Using Docker executor with image docker:latest ...
Pulling docker image docker:latest ...
Running on runner-c0accb5b-project-3-concurrent-0 via dbd7849eec36...
Cloning repository...
Cloning into '/builds/pso/SLH-build'...
Checking out d7e6e0c8 as master...
$ docker build -t slh-build .
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
ERROR: Build failed: exit code 1