user cannot access docker socket
Users are not added to the docker group, so when attempting to run docker commands, they get 'Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock'
Solution: add them to the 'docker' group:
sudo usermod -G docker -a ubuntu