Introduction

This error may result from the incorrect rights to the docker.sock file, to fix this error:

Run:

sudo chmod 666 /var/run/docker.sock

This fixes the error, enabling building and running docker containers.


Found this article helpful? You may follow me on Twitter where I tweet about interesting topics on software development.