Add example commands for docker
This commit is contained in:
parent
63641a7b17
commit
c24de595f6
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@
|
||||||
|
|
||||||
# Add entry to build a docker image with headscale
|
# Add entry to build a docker image with headscale
|
||||||
# caveat: only works on Linux
|
# caveat: only works on Linux
|
||||||
|
#
|
||||||
|
# Usage:
|
||||||
|
# nix build .#headscale-docker
|
||||||
|
# docker load < result
|
||||||
headscale-docker = pkgs.dockerTools.buildLayeredImage {
|
headscale-docker = pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "headscale";
|
name = "headscale";
|
||||||
tag = "latest";
|
tag = "latest";
|
||||||
|
|
Loading…
Reference in a new issue