After getting docker “restart” issues, I was able to fix it by including
--privileged
and
--pull=always
flags to fix the connection issues with docker on a raspberry pi. Below is the full script that fixed my issue.
docker run -d \
--privileged \
--sysctl net.ipv4.ping_group_range="0 2147483647" \
--env TENANT_URL="https://piremote.twingate.com" \
--env ACCESS_TOKEN="<access token>" \
--env REFRESH_TOKEN="<refresh token>" \
--env TWINGATE_LABEL_HOSTNAME="`hostname`" \
--name "twingate-connector-name" \
--restart=unless-stopped \
--pull=always \
twingate/connector:1