I am trying to run docker command from jenkins.
docker run --rm -t -v
/extdisk/jenkins/workspace/TEST-BUILD-DOCKER-TEST/test-build/branchfile:/workspace/branchfile
-v /extdisk:/extdrv test-build:1.3
As we know jenkins behavior, it creates a shell script of whatever
commands provided in execute shell option. So when it tried to run above
command, -v option doesnt work inside container
"cat: /workspace/branchfile: Is a directory"
but when I hit same command from docker host, it works like a charm
any help on this issue?
Thanks
Abhijit
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/JaE-hP79y-Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/69a89dbb-6a04-4587-bc9a-928e9d515373%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.