Closed firekirin67 closed 2 months ago
From https://github.com/juanfont/headscale/releases/tag/v0.23.0-beta2 releases, you must change entrypoint from headscale serve to serve.
So maybe looks like this
docker run
--name headscale
--detach
--volume $(pwd)/config:/etc/headscale/
--publish 0.0.0.0:4993:4993
--publish 0.0.0.0:4994:4994
headscale/headscale:v0.23.0-beta2
serve
As @Marcus1Pierce mentions, this is addressed in the changelog.
从https://github.com/juanfont/headscale/releases/tag/v0.23.0-beta2版本开始,您必须将入口点从 headscaleserve 更改为serve。
所以可能看起来像这样
docker run --name headscale --detach --volume $(pwd)/config:/etc/headscale/ --publish 0.0.0.0:4993:4993 --publish 0.0.0.0:4994:4994 headscale/headscale:v0.23.0-beta2 serve
Thank you for your reply, the issue has been resolved.
Is this a support request?
Is there an existing issue for this?
Current Behavior
When I deploy and run using the docker image <v0.23.0-beta2>, it exits directly. By running the command
docker logs --follow headscale
, the following output is displayed:Expected Behavior
·
Steps To Reproduce
docker run \ --name headscale \ --detach \ --volume $(pwd)/config:/etc/headscale/ \ --publish 0.0.0.0:4993:4993 \ --publish 0.0.0.0:4994:4994 \ headscale/headscale:v0.23.0-beta2 \ headscale serve
config.txt
Environment
Runtime environment
Anything else?
No response