3 ms·
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
by tracker1 11y ago
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?
- jayfk 11y agoDon'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