when running the script incl tokens it says following:
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post “http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=twingate%2Fconnector&tag=1”: dial unix /var/run/docker.sock: connect: permission denied.
See ‘docker run --help’.
docker is installed correctly : Hello from Docker!
This message shows that your installation appears to be working correctly.
what am i missing? thx Robert
What’s the full command that you’re running, just mask out the tokens with xxxxx or something, at first glance it comes across as running it without sudo though.
Hi Ben, Thanks for replying.
I copy paste the command from Twingate installation guide after generating tokens.
This did not work, however when inserting SUDO in the beginning it completed the action.
So, best to also put this in the command too.
It’s best to NOT run docker with SUDO privileges. This isn’t a Twingate related issue. A simple way to resolve this is by:
sudo usermod -aG docker < your username >
Run the above and replace your username.
Also, you will need to logout or reboot for changes to take affect.