The post How to Install Artifactory on Docker appeared first on Little Big Extra.
]]>JFrog Artifactory is a repository manager used for versioning deployable like a jar, war, docker image etc. Artifactory Pro is a licensed/paid version which will let you create repositories for docker images and much more.Artifactory OSS is open source and a restrective version where you can create maven repositories and few others.
In this tutorial, we will
Pull the Artifactory OSS Docker Image, it’s an open source image. For this tutorial, we will go ahead with Artifactory OSS
docker pull docker.bintray.io/jfrog/artifactory-oss:latest
docker run --name artifactory -d -p 8081:8081 docker.bintray.io/jfrog/artifactory-pro:latest
It is important to persist the artifacts which will be fed to Artifactory, so we have two options here
If artifactory was running using above command already then you need to stop the container using
docker stop artifactory docker rm artifactory
docker volume create --name artifactory5_data docker run --name artifactory-5.0.0 -d -v artifactory5_data:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-pro:latest
OR
docker run --name artifactory-5.0.0 -d -v /Users/abhishek/jfrog/artifactory:/var/opt/jfrog/artifactory -p 8081:8081 docker.bintray.io/jfrog/artifactory-oss:latest
http://SERVER_DOMAIN:8081/artifactory
The post How to Install Artifactory on Docker appeared first on Little Big Extra.
]]>