What is the correct docker run ...
command to run jenkins container.
I'm using linux containers on windows 10.
To use the docker exec command, you will need a running Docker container. If you don't already have a container, start a test container with the following docker run command: docker run -d --name container-name alpine watch "date >> /var/log/date. log"
docker run -p 8080:8080 -p 50000:50000 -v //D/jenkins:/var/jenkins_home jenkins
or with :
-v D:/jenkins:/var/jenkins_home
like in example below but i personally prefer first approach.
just make sure in docker settings you have checked disc D
to allow mounting D
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With