From 93ccce8ed2722e0f11e55b78bfdf017222165ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Mon, 27 Dec 2021 12:18:51 +0100 Subject: [PATCH] docs: add note about docker hub private images (#1132) --- docs/private-registries.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/private-registries.md b/docs/private-registries.md index 8b3f28d..94f9a81 100644 --- a/docs/private-registries.md +++ b/docs/private-registries.md @@ -25,6 +25,18 @@ password `auth` string: `` needs to be replaced by the name of your private registry (e.g., `my-private-registry.example.org`) +!!! important "Using private images on docker hub" + When using private images on docker hub, the containers beeing watched needs to use the full image name, including the repository prefix `index.docker.io`. + So instead of + ``` + docker run -d myuser/myimage + ``` + you would run it as + ``` + docker run -d index.docker.io/myuser/myimage + ``` + + The required `auth` string can be generated as follows: ```bash