From e4094c06b420f34c1fe1a741f0431d3b00417f08 Mon Sep 17 00:00:00 2001 From: XN Date: Fri, 5 May 2023 10:56:04 +0800 Subject: [PATCH] correct the error in the doc without changing the unix socket location, the docker container will fail to launch and gives error `FTL go/src/headscale/cmd/headscale/cli/server.go:26 > Error starting server error="failed to set up gRPC socket: listen unix /var/run/headscale/headscale.sock: bind: no such file or directory"` --- docs/running-headscale-container.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/running-headscale-container.md b/docs/running-headscale-container.md index 18dacd92..8860f389 100644 --- a/docs/running-headscale-container.md +++ b/docs/running-headscale-container.md @@ -66,6 +66,8 @@ db_type: sqlite3 db_path: /etc/headscale/db.sqlite ``` +Change the `unix_socket: /var/run/headscale/headscale.sock` to `unix_socket: ./headscale.sock` for gRPC socket if you encounter `Error starting server error="failed to set up gRPC socket` related error + 4. Start the headscale server while working in the host headscale directory: ```shell