After installing Docker, if you may want to are using a Linux distribution you may want to ensure that you can use it as non-root user by running this command:
$ sudo setfacl --modify user:<user name or ID>:rw /var/run/docker.sock