...
How to use Artifactory as docker registry
...
Artifactory can be used to serve Docker images like Docker Registry. It is just another type of repository and could be browsed and managed in Artifactory web dashboard.
Address: artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG>
How to use with Docker client
Login
Code Block title Docker login docker login artifactory.geant.net
And provide your Artifactory username and password
To manually set your credentials copy the following snippet to your ~/.docker/config.json file.Code Block title Credenitals { "auths": { "https://artifactory.geant.net: { "auth": "<USERNAME>:<PASSWORD>", "email": "youremail@email.com" } } }
Push image to registry
To push an image tag an image using the docker tag and then docker push command.Code Block title Docker push docker tag <MY_IMAGE_ID> artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG> docker push artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG>
Pull image
Code Block title Docker pull docker pull artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG>
How to use Artifactory as a tool for Software IPR management
...