-
Hi everyone, I have a couple of use cases where I would like to only mount volumes for I understand why it's there, I'm likely the only one complaining and it probably helps Docker beginners a lot. Is there a workaround I can use for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That would be a general docker question since I don't know if there's a way to un-VOLUME the declaration. Forking the repo and building your own image would be the easiest. I would have suggested changing the working directory but unfortunately I hard coded /data in half the places. An enhancement to search and replace that with a variable might help with that. A wrapper script around the whole docker setup would easily automate away the volume cleanup too. |
Beta Was this translation helpful? Give feedback.
That would be a general docker question since I don't know if there's a way to un-VOLUME the declaration.
Forking the repo and building your own image would be the easiest. I would have suggested changing the working directory but unfortunately I hard coded /data in half the places. An enhancement to search and replace that with a variable might help with that.
A wrapper script around the whole docker setup would easily automate away the volume cleanup too.