Re: Docker error "working directory is invalid"

2020-01-02 Thread Slide
You will probably want to read up on volumes in Docker from the Docker documentation (https://docs.docker.com/storage/volumes/). On Thu, Jan 2, 2020 at 9:25 AM Ralph Connors wrote: > Thanks for your quick answer. I am new to both Docker and Jenkins - how do > I do this? > > On Thu, Jan 2, 2020 a

Re: Docker error "working directory is invalid"

2020-01-02 Thread Ralph Connors
Thanks for your quick answer. I am new to both Docker and Jenkins - how do I do this? On Thu, Jan 2, 2020 at 11:19 AM Slide wrote: > Why are you using an Alpine Linux image with Windows paths? If you want to > run a Linux container, you need to setup your volumes to use Linux paths > mapped to t

Re: Docker error "working directory is invalid"

2020-01-02 Thread Slide
Why are you using an Alpine Linux image with Windows paths? If you want to run a Linux container, you need to setup your volumes to use Linux paths mapped to the Windows equivalent (if you are running this on a Windows host). On Thu, Jan 2, 2020 at 9:14 AM Ralph Connors wrote: > I am working thr

Docker error "working directory is invalid"

2020-01-02 Thread Ralph Connors
I am working through the Maven/Java Jenkins tutorial . I was able work up to running the Pipeline, but the following fails: docker run -d -t -v /root/.m2:/root/.m2 -w C:/Users/ralph.connors/.jenkins/workspace/simple-java-maven-app/