osrf / rocker

A tool to run docker containers with overlays and convenient options for things like GUIs etc.
Apache License 2.0
533 stars 68 forks source link

Support --workdir #249

Open evshary opened 8 months ago

evshary commented 8 months ago

While running docker, we can assign --workdir to override default WORKDIR in Dockerfile. Is it possible to support the argument in rocker command? https://docs.docker.com/engine/reference/run/#workdir

tfoote commented 7 months ago

This certainly is possible. It would require a small extension to the command line parsing. THere are a few other elements interacting with the workdir that this will need to be deconflicted with.