Workingdir
carlochess opened this issue · comments
Carlos Roman commented
I think that the default working dir of the image dockerize create is '/', can we add an optional argument like
`optional arguments:
-w, --wd change the working dir
And then, in the dockerfile
`FROM scratch
COPY . /
WORKDIR /home/great/music/
ENTRYPOINT ["/bin/bash"]
`
Thanks in advance
Lars Kellogg-Stedman commented
You're welcome to submit a patch for the above, although in general I would probably just specify the working dir via the -w
option to docker run
.
Carlos Roman commented
That's a great idea. Thanks man!