Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Really cool post... though it seems like DigitalOcean, Linode or others might be a better idea if you use the instances more than a few hours a month.

I'm not connection constrained, but my workflow for linux is to mount a drive/directory to a linux instance (virtual or physical) edit with a gui editor locally, and run via an ssh connected cli. Which works pretty well for me.

Anyone familiar with something that can mount a virtual drive in windows or osx to a linux machine over ssh?




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.


I didn't know you could NFS over SSH... interesting... Just need a solution for my windows desktop.

https://gist.github.com/proudlygeek/5721498




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: