...
Login
Code Block title Docker login docker login artifactory.software.geant.org
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.software.geant.org: { "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.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG> docker push artifactory.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG>
Pull image
Code Block title Docker pull docker pull artifactory.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG>
Related articles
Note |
---|
The JFrog Academy provides free, unlimited access to On-Demand Online Training, some of them are dedicated to DevOps and could help you to get deep knowledge about useful Artifactory features and also build automation and DevOps best practices:
See more at: https://academy.jfrog.com/courses |
...