Connect BuildKit/buildctl to Artifactory

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

BuildKit is a toolkit for building container images and other build artifacts efficiently and securely. You can use the toolkit to build multiarchitecture images. It operates as a daemon that executes build operations. buildctl is the BuildKit command-line client used to interact with the daemon and define build processes.

To connect BuildKit to Artifactory:

  1. Run the following Docker command:

    docker login [JFrogPlatformURL]

    Where:

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

    For example:

    docker login company.jfrog.io
  2. Enter your Artifactory credentials.

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.

Next steps: