add user Got permission denied while trying to connect to the Docker daemon socket code example
Example: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
newgrp docker
newgrp docker