Editing
Tutorials:Link to container registry on our server
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Pushing images to the CCU registry === To check whether your login works and make the CCU registry known to your docker installation, simply run <syntaxhighlight lang="bash"> docker login ccu-k8s.inf.uni-konstanz.de:32250 </syntaxhighlight> The registry is exposed on the standard port 32250, and it will ask for your CCU username and password. After this, you will be able to push your own images to the registry. ==== Example on how to push a specific image ==== Test the successful connection out now: <syntaxhighlight lang="bash"> docker pull busybox </syntaxhighlight> This will pull the simple example image [https://hub.docker.com/_/busybox busybox] (a minimalistic Linux) from the default docker registry, the [https://hub.docker.com/search?q=&type=image Docker hub], which has tons of useful base images for almost anything you might ever need. In order to "rebrand" this example and publish it under your own account on the CCU registry, you need to tag it with a new name: <syntaxhighlight lang="bash"> docker tag busybox ccu-k8s.inf.uni-konstanz.de:32250/<your.username>/my_busybox #change busybox to whatever the name of your custom container is </syntaxhighlight> Note that you are only allowed to upload images in a subdirectory named after your login. Finally, push the image to the CCU registry: <syntaxhighlight lang="bash"> docker push ccu-k8s.inf.uni-konstanz.de:32250/<your.username>/my_busybox #change busybox to whatever the name of your custom container is </syntaxhighlight>
Summary:
Please note that all contributions to Collective Computational Unit may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
CCU:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Collective Computational Unit
Main page
Projects
Tutorials
GPU Cluster
Core Facilitys
Mediawiki
Recent changes
Random page
Help
Tools
What links here
Related changes
Page information