From cf0e495d0aaa690a06ce383bd4d54eaa1e49b858 Mon Sep 17 00:00:00 2001 From: Simon Gregor Ebner Date: Wed, 4 Dec 2024 12:36:21 +0100 Subject: [PATCH] update info on container registry --- .../user-guide/gitlab/container.psi.ch.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/services/user-guide/gitlab/container.psi.ch.md b/services/user-guide/gitlab/container.psi.ch.md index 97722507..ef71b9d4 100644 --- a/services/user-guide/gitlab/container.psi.ch.md +++ b/services/user-guide/gitlab/container.psi.ch.md @@ -1,9 +1,20 @@ # Container Registry -__Under Construction!__ +The container registry is available under container.psi.ch. -The container registry is available under container.psi.ch. To push a container to the registry you need to tag it accordingly. +To push a container to the registry you need to tag it accordingly. Also you need to login to the registry before pushing. -``docker tag {MYCONTAINER} container.psi.ch/{NAMESPACE}/{YOURCONTAINER}:{TAG}`` +```bash +# login to the container registry +docker login container.psi.ch -The container registry is only available inside the PSI-Network. \ No newline at end of file +# tag you container +docker tag {MYCONTAINER} container.psi.ch/{NAMESPACE}/{YOURCONTAINER}:{TAG} + +# push container +docker push container.psi.ch/{NAMESPACE}/{YOURCONTAINER}:{TAG} +``` + +```{note} +The container registry is __only__ available inside the PSI-Network. +```