create a db file first

This commit is contained in:
t56k 2021-09-23 17:14:04 +12:00
parent fd94105483
commit 11e0402396

View file

@ -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: