1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Add example commands for docker

This commit is contained in:
Kristoffer Dalby 2022-03-07 17:41:16 +00:00
parent 63641a7b17
commit c24de595f6

View File

@ -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";