From d1254415830006c7a72c132364431cc74fe85a3f Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 21 Nov 2024 18:23:26 +0100 Subject: [PATCH] docs --- modules/ContainerImages.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/ContainerImages.nix b/modules/ContainerImages.nix index bac088d..30a0460 100644 --- a/modules/ContainerImages.nix +++ b/modules/ContainerImages.nix @@ -12,6 +12,17 @@ in { # Configure ContainerImages. # This creates file `/etc/ContainerImages/dockerhub-p1st`. + # + # `config.json` is created by running `docker login` for the correct user. + # It has the following content + # { + # "auths": { + # "https://index.docker.io/v1/": { + # "auth": "REPLACE-ME-WITH-REAL-VALUE" + # } + # } + # } + deployment.keys."dockerhub-${dockerHubUsername}" = { # mkdir secrets/dockerhub-p1st # sudo install -m600 /dev/stdin secrets/dockerhub-p1st/config.json