3 ms·
Don't know about windows, but you can use NFS on OS X and Linux. If you mount your working directory exactly like on your host machine, you can even use relati
by jayfk 11y ago
Don't know about windows, but you can use NFS on OS X and Linux.
If you mount your working directory exactly like on your host machine, you can even use relative paths in your Dockerfile.
E.g mount /Users/tracker1 from your host on /Users/tracker1 on the VM.
Since your Dockerfile working dir matches on both systems, you can use them as if you were working directly on the machine, like:
ADD ./entrypoint.sh /entrypoint.sh
COPY ./app/code /code
etc.
- tracker1 11y agoI didn't know you could NFS over SSH... interesting... Just need a solution for my windows desktop. https://gist.github.com/proudlygeek/5721498 https://gist.github.com/proudlygeek/5721498