This content originally appeared on DEV Community and was authored by neil wu
Install Jfrog OSS from docker
docker pull docker.bintray.io/jfrog/artifactory-oss:latest
Create a folder under windows 11 Pro
c:/apps/jfrog/artifactory
It will be mapped to /mnt/c/apps/jfrog/artifactory under WSL2(Ubentu)
Start JFrog Artifactory container
To start an Artifactory container, use the command:
docker run --name artifactory -d \
-p 8081:8081 \
-p 8082:8082 \
-v /mnt/c/apps/jfrog/artifactory:/var/opt/jfrog/artifactory \
docker.bintray.io/jfrog/artifactory-cpp-ce
You can pass Java system properties to the JVM running Artifactory using EXTRA_JAVA_OPTIONS. Check more on Docker setup link. See example below.
docker run --name artifactory -d \
-p 8081:8081 \
-p 8082:8082 \
-v /jfrog/artifactory:/var/opt/jfrog/artifactory \
-e EXTRA_JAVA_OPTIONS='-Xms512m -Xmx2g -Xss256k -XX:+UseG1GC' \
docker.bintray.io/jfrog/artifactory-pro:latest
This content originally appeared on DEV Community and was authored by neil wu
neil wu | Sciencx (2025-09-27T19:21:15+00:00) Setup Jfrog OSS in WSL2 on Windows 11 Pro. Retrieved from https://www.scien.cx/2025/09/27/setup-jfrog-oss-in-wsl2-on-windows-11-pro/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.