mineshaftgap / d4m-nfs

Docker for Mac with NFS for performance improvements over osxfs
296 stars 26 forks source link

Relative paths #15

Closed mrfelton closed 7 years ago

mrfelton commented 7 years ago

Hi, I have this working (and it works very well, thanks!) when using an absolute path to for the volume mount source (eg, /mnt/workspace/example/app:/app). The problem with this though is that with this absolute path my docker-compose file is now not portable - it's completely specific to my machine.

Usually I would use relative paths to the local source (eg, ./app:/app) to mount my sourec code into a container.

Is there a way that this can be made to work with relative paths so that we can keep our docker-compose files portable and reusable?

if-kenn commented 7 years ago

Please see: https://github.com/IFSight/d4m-nfs/issues/5