Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

  1. Login

    Code Block
    titleDocker 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
    titleCredenitals
    {
        "auths": {
            "https://artifactory.geant.net: {
                "auth": "<USERNAME>:<PASSWORD>",
                "email": "youremail@email.com"
            }
        }
    }


  2. Push image to registry
    To push an image tag an image using the docker tag and then docker push command.

    Code Block
    titleDocker push
    docker tag <MY_IMAGE_ID> artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG>
    docker push artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG>


  3. Pull image

    Code Block
    titleDocker pull
    docker pull artifactory.geant.net/<REPO_NAME>/<IMAGE_NAME>:<TAG>


How to use Artifactory as a tool for Software IPR management

...