To build the image, you can use the Docker native client or install Docker for your platform by downloading or .
The following code snippet shows an example of how to build the Artifactory OSS 5.0 Docker image on a Mac:
$ mkdir ~/git/artifactory.5.0/ $ cd ~/git/artifactory.5.0/ $ # unzip the Artifactory source bundle you downloaded from Bintray in to the directory you created $ cd ~/git/artifactory.5.0/artifactory-oss/distribution/docker $ mvn clean package -Pdocker
You can list the Docker images you have built using the docker images command, which should display something like the following output:
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE jfrog/artifactory-oss 5.0.0 da70b82904e7 2 minutes ago 741.7 MB ...
To start an Artifactory OSS container for the image shown in the example above, use:
$ docker run --name artifactory-5.0.0 -d -p 8081:8081 jfrog/artifactory-oss:5.0.0
Once the Artifactory container is up and running, you access Artifactory in the usual way by browsing to:
For example, if you are testing on your local machine you would use: http://localhost:8081/artifactory