Push Docker Images with Podman

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

To tag and push Docker images with Podman:

  1. Tag your image by running the following command:

    podman tag <IMAGE_ID> [JFrogPlatformURL]/<REPO_NAME>/<IMAGE>:<TAG>

    Where:

    • <IMAGE_ID>: The existing image ID

    • [JFrogPlatformURL]: The URL of your JPD, without the protocol schema

    • <REPO_NAME>: The name of the repository where the image is located

    • <IMAGE>: The image name

    • <TAG>: The tags you want to apply to the image

    For example:

    podman tag a1b2c3d4e5f6 company.jfrog.io/docker-local/froggy-app:v1.0.0
  2. Run the following command to push the image to Artifactory:

    podman push [JFrogPlatformURL]/<REPO_NAME>/<IMAGE>:<TAG>

    Where:

    • [JFrogPlatformURL]: The URL of your JPD, without the protocol schema

    • <REPO_NAME>: The name of the target repository

    • <IMAGE>: The image name

    • <TAG>: The tags you want to apply to the image

    Tip

    Optionally, you can add the-f=oci flag to set the image format to OCI.

    For example:

    podman push [JFrogPlatformURL]/docker-local/froggy-app:v1.0.0 -f=oci