How to install Tailscale? #405
Unanswered
ClementNerma
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Sorry for the late reply, but sadly, this requires a custom image. Instructions for that can be found here: |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
For anyone looking for a way to do this without having to use an alternative image, this is the script I use to set up tailscale inside distrobox: host-shell pkexec bash -c "
mkdir -p /var/run/tailscale
distrobox create --root --name tailscale \
--image docker.io/library/alpine:latest \
--volume /var/run/tailscale:/var/run/tailscale:rw \
--init \
--additional-packages \"tailscale\" &&
distrobox enter --root tailscale -nw -- rc-update add tailscale default &&
distrobox enter --root tailscale -nw -- rc-service tailscale start &&
distrobox enter --root tailscale -nw -- tailscale set --operator $USER &&
cat > /etc/systemd/system/tailscale-container.service <<'EOF'
[Unit]
Description=Prepare and start the tailscale Podman container
After=network-online.target
Wants=network-online.target
After=local-fs.target
[Service]
Type=oneshot
ExecStartPre=/usr/bin/mkdir -p /run/tailscale
ExecStart=/usr/bin/podman start tailscale
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload &&
systemctl enable tailscale-container.service
distrobox enter --root tailscale -nw -- tailscale login
"Once it's finished, follow the link to sign in and add the machine to your tailnet |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Installing TailScale requires to add their custom repository, which does not seem to be possible in VanillaOS.
How can I circumvent that and still use it? Installing inside an APX env does not work obviously.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions