Skip to content

I want to install Tailscale in KairOS, what should I do? #2674

Answered by andreyrd
east4ming asked this question in Q&A
Discussion options

You must be logged in to vote

You can do it by building a custom container image:

Containerfile using rockylinux:9-standard-amd64-generic-v3.1.3-k3sv1.31.0-k3s1 as the example base image:

FROM quay.io/kairos/rockylinux:9-standard-amd64-generic-v3.1.3-k3sv1.31.0-k3s1

# Install Tailscale
RUN dnf install -y 'dnf-command(config-manager)'
RUN dnf config-manager --add-repo https://pkgs.tailscale.com/stable/rhel/9/tailscale.repo
RUN dnf install tailscale -y
RUN systemctl enable tailscaled

Build this container, push it somewhere you can access during install, and pass it in --source oci:repo/image:tag flag for kairos-agent upgrade or kairos-agent manual-install.

See https://kairos.io/docs/advanced/customizing/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by east4ming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants