Re:Things I Wish I'd Known Before Using Vagrant
by tonyhb on Friday October 27, 2017 @12:43PM
(#15570024)
I think it's easier for most people to get started using Docker for Mac, but yeah – I run Debian headless in a VM, SSH in and use that for Docker. Way less magic, and I have full control of the underlying OS to test out new kernels etc.
I also like that my underlying code is also within an encrypted VM disk, not laying around on my host mac os.
Re:Things I Wish I'd Known Before Using Vagrant
by smc12 on Friday October 27, 2017 @02:48PM
(#15571114)
Do you use a GUI editor in the VM? I have a similar setup (Mac hosting a headless VM running Docker) and can't stand performance when using X-Forwarding and XQuartz
Re:Things I Wish I'd Known Before Using Vagrant
by tonyhb on Saturday October 28, 2017 @05:13PM
(#15576781)
Nope, neovim and tmux is all I use regularly. I tried to proxy X11 to quartz and it was way too slow.
When I use Reason I'll sometimes mount over SSHFS to edit using neovim in visual studio, though right now I'm building native iOS apps with it so it's actually not in my VM so that xcode can build faster
Re:Things I Wish I'd Known Before Using Vagrant
by mkesper on Friday October 27, 2017 @03:47PM
(#15571615)
You could use emacs with tramp from outside: https://www.emacswiki.org/emacs/TrampMode
Re:Things I Wish I'd Known Before Using Vagrant
by lloeki on Friday October 27, 2017 @09:55PM
(#15573588)
These days I’m just using docker-machine instead of Docker for Mac, as the cost of the latter’s magic is simply not worth it.
It's pretty easy these days to use tools like Vagrant to spin up the VM then run a Docker Compose file or whatever to get your development environment ready, and would result in identical cross platform environments.