I want to use circleci to build and deploy a docker image to a repository when there is a change in the main branch of my github project.
My docker image is based on ubuntu:16.04
When I run
docker build it emits this error message:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
If I try
service docker start I got this:
/etc/init.d/docker: 96: ulimit: error setting limit (Operation not permitted)
Has anyone encountered similar issue? If so, what is a solution?