Overview

The AWS Container Marketplace offers an alternative Docker image to the official JFrog Container Registry Docker image. The Marketplace image is identical to the official JFrog Artifactory Docker image but does not start up with the default credentials (admin:password). Instead, the end user must get or set the first time password.

Prerequisites

  • An active AWS subscription
  • Docker (or service capable of deploying Docker images)



Setting up the JFrog Container Registry in the AWS Container Marketplace Listing

  1. Subscribe to the listing.
  2. Navigate to Continue to Configuration | Continue to Launch View container image details.
  3. Follow the instructions to log in and perform a pull of the image.
  4. Follow the instructions for using Docker or Helm.

Setting the Password for the First Time

Amazon AWS Container Marketplace does not allow default passwords. You must provide a password during container initialization or one will be randomly generated. 

To set the first time initialization password for the 'admin' user, pass the environment variable ARTIFACTORY-PASSWORD with the desired password.  

Example

docker run ... --env ARTIFACTORY-PASSWORD=my-new-password <image-url>

If no initialization password is provided, one will be generated and printed to a file in the container. 

To get the randomly generated password, you can print the contents of the file.

Example

docker exec -it <container-id> cat /var/opt/jfrog/artifactory/generated-pass.txt

This password is only valid for the initial setup and should then be changed via the UI or REST API

In either case, this password should be used only for the initial set up and the password should be changed via the UI or REST API after you are up and running.


Upgrading JFrog Container Registry in the AWS Container Marketplace listing

Follow the official Docker to Docker upgrade procedure, using a different image name/source.