Versions Compared

Key

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

...

  1. Login

    Code Block
    titleDocker 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
    titleCredenitals
    {
        "auths": {
            "https://artifactory.software.geant.org: {
                "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.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG>
    docker push artifactory.software.geant.org/<REPO_NAME>/<IMAGE_NAME>:<TAG>


  3. Pull image

    Code Block
    titleDocker 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:

  • Artifactory Basics (60m)
  • DevOps Pipelines with Artifactory (120m)

See more at: https://academy.jfrog.com/courses

...