From fd941054835b388e8fdc6d2c37313b10311184f5 Mon Sep 17 00:00:00 2001 From: t56k Date: Thu, 23 Sep 2021 16:32:15 +1200 Subject: [PATCH 1/2] fix namespace instructions in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df35fac..3c6370b 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Suggestions/PRs welcomed! the db.sqlite mount is only needed if you use sqlite ```shell - docker run -v $(pwd)/private.key:/private.key -v $(pwd)/config.json:/config.json -v $(pwd)/derp.yaml:/derp.yaml -v $(pwd)/db.sqlite:/db.sqlite -p 127.0.0.1:8000:8000 headscale/headscale:x.x.x headscale create myfirstnamespace + docker run -v $(pwd)/private.key:/private.key -v $(pwd)/config.json:/config.json -v $(pwd)/derp.yaml:/derp.yaml -v $(pwd)/db.sqlite:/db.sqlite -p 127.0.0.1:8000:8000 headscale/headscale:x.x.x headscale namespaces create myfirstnamespace ``` or if your server is already running in docker: ```shell From 11e04023969cebe221eff1d0a6731d903bffbd66 Mon Sep 17 00:00:00 2001 From: t56k Date: Thu, 23 Sep 2021 17:14:04 +1200 Subject: [PATCH 2/2] create a db file first --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3c6370b..a57900a 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ Suggestions/PRs welcomed! the db.sqlite mount is only needed if you use sqlite ```shell + touch db.sqlite docker run -v $(pwd)/private.key:/private.key -v $(pwd)/config.json:/config.json -v $(pwd)/derp.yaml:/derp.yaml -v $(pwd)/db.sqlite:/db.sqlite -p 127.0.0.1:8000:8000 headscale/headscale:x.x.x headscale namespaces create myfirstnamespace ``` or if your server is already running in docker: