The first prerequisite is to open a terminal and log in to the Docker repository using the credentials that were provided to you. Enter the following command:


docker login repo.deephub.io:8443 


testuser@devbuntu18:~$ docker login repo.deephub.io:8443
Username: jdoe
Password:
WARNING! Your password will be stored unencrypted in /home/testuser/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
 
Login Succeeded
testuser@devbuntu18:~$


The connection is secure on this port. Do not use URL schemas like "https://" with the login command - just specify the host and the port. As shown above, your credentials are saved in your home directory and will be re-used automatically the next time you try to log in. This information will not be re-written if you log in to another Docker registry - those credentials will coexist in your config.json file. Note: if you omit the host and port of the DeepHub® Docker registry, Docker client will try to authenticate you against the public Docker hub (hub.docker.com).


In case you want to "forget" your credentials for this Docker registry, just type in:  

docker logout repo.deephub.io:8443


Now that you are logged in, you may pull/update specific containers. To pull the latest beta version, just use the "latest" tag. For example, execute the following command to pull the latest version of the DeepHub® container:


docker pull repo.deephub.io:8443/deephub/deephub:latest


testuser@devbuntu18:~$ docker pull repo.deephub.io:8443/deephub/deephub:latest
latest: Pulling from deephub/deephub
d51af753c3d3: Already exists
fc878cd0a91c: Already exists
6154df8ff988: Already exists
fee5db0ff82f: Already exists
37f507339d7b: Already exists
72fceb45bb77: Already exists
21fee94a4a13: Already exists
8d34604ba0ac: Already exists
cccaad56950f: Already exists
bc52484f969e: Already exists
c552dc51f79a: Already exists
5de48fd3a5b6: Already exists
9e6b65b29d70: Pull complete
e804306dd1e0: Pull complete
ae216cf6232f: Pull complete
Digest: sha256:edfcce4d423054855ec12e6f51d6b822256e3145283a5ced1e042a8bae32938f
Status: Downloaded newer image for repo.deephub.io:8443/deephub/deephub:latest
repo.deephub.io:8443/deephub/deephub:latest
testuser@devbuntu18:~$


Similarly, you could also pull the latest version of the DeepHub® UI container:


docker pull repo.deephub.io:8443/deephub/deephub:latest


To pull the latest versions of both containers, simply execute:


docker-compose pull


This is the simplest way to keep your local installation up-to-date. Whenever you repeat these commands (docker pull ... :latest) they will fetch the latest available version. You don't have to specify any versions.


However, it's also possible to pull specific versions of containers. This is explained in detail here.