From 72d5fd04a74fae6ec248aeaf1b8ad8a5c6920375 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Mon, 17 Nov 2025 21:20:51 +0100 Subject: [PATCH] Remove duplicated documentation and link to getting started instead --- docs/setup/install/container.md | 37 +-------------------------------- docs/setup/install/official.md | 4 ++++ 2 files changed, 5 insertions(+), 36 deletions(-) diff --git a/docs/setup/install/container.md b/docs/setup/install/container.md index 140bd1ea..dca22537 100644 --- a/docs/setup/install/container.md +++ b/docs/setup/install/container.md @@ -94,42 +94,7 @@ Registry](https://github.com/juanfont/headscale/pkgs/container/headscale). The c curl http://127.0.0.1:8080/health ``` -1. Create a headscale user: - - ```shell - docker exec -it headscale \ - headscale users create myfirstuser - ``` - -### Register a machine (normal login) - -On a client machine, execute the `tailscale up` command to login: - -```shell -tailscale up --login-server YOUR_HEADSCALE_URL -``` - -To register a machine when running headscale in a container, take the headscale command and pass it to the container: - -```shell -docker exec -it headscale \ - headscale nodes register --user myfirstuser --key -``` - -### Register a machine using a pre authenticated key - -Generate a key using the command line for the user with ID 1: - -```shell -docker exec -it headscale \ - headscale preauthkeys create --user 1 --reusable --expiration 24h -``` - -This will return a pre-authenticated key that can be used to connect a node to headscale with the `tailscale up` command: - -```shell -tailscale up --login-server --authkey -``` +Continue on the [getting started page](../../usage/getting-started.md) to register your first machine. ## Debugging headscale running in Docker diff --git a/docs/setup/install/official.md b/docs/setup/install/official.md index 17d23b23..56fd0c9c 100644 --- a/docs/setup/install/official.md +++ b/docs/setup/install/official.md @@ -42,6 +42,8 @@ distributions are Ubuntu 22.04 or newer, Debian 12 or newer. sudo systemctl status headscale ``` +Continue on the [getting started page](../../usage/getting-started.md) to register your first machine. + ## Using standalone binaries (advanced) !!! warning "Advanced" @@ -115,3 +117,5 @@ managed by systemd. ```shell systemctl status headscale ``` + +Continue on the [getting started page](../../usage/getting-started.md) to register your first machine.