Simplifying Docker on OS X
21–30 of 89 posts
Re: Simplifying Docker on OS X
#22Pretty cool trick to make the OS X docker hacks feel transparent. I've been tempted into getting a Linux laptop just because using Docker on OS X feels so hacky.
Re: Simplifying Docker on OS X
#23So I imagine the solution is using xhyve to run a simple linux. Why is the xhyve virtualization framework through low-level go-bindings better than using VirtualBox for the same task?
> Why is the xhyve virtualization framework through low-level
> go-bindings better than using VirtualBox for the same task?
Presumably, because xhyve uses the native os virtualization framework, and as such does not require custom third party kernel modules. It also apparently works a bit better with the native os scheduler.Re: Simplifying Docker on OS X
#24Pretty cool trick to make the OS X docker hacks feel transparent. I've been tempted into getting a Linux laptop just because using Docker on OS X feels so hacky.
One of the benefits of doing this, I find, is that all the power-hungry stuff happens on the server, so I can have a really lightweight development machine (e.g. one of the 2015 Macbooks.)
Re: Simplifying Docker on OS X
#25Thank you! I'll have to check this out. It baffles me that a company such as Docker has yet to make using its primary product on Mac OS X simple plug and play. Needing to remember to run `eval $(docker-machine env docker)` is not a sustainable solution. Hell I know about this and would occasionally forget and become confused at the error messages. In fact I put this horrible hack into my ~/.bash_profile (I wouldn't r…
But DLite appears to resolve a lot of this 'hackiness'.
Re: Simplifying Docker on OS X
#26I'm excited to try out xhyve for virtualization, but even if you solve the virtualization problem there are still some real usability concerns around using Docker for development in even medium-sized teams. I gave a talk at PyGotham[2] about some of the benefits and issues of using Docker for dev at this point.
All told, this looks like it might be an attractive lightweight solution though if virtualization is your main problem now.
[1] http://dusty.gc.com/ [2] https://www.youtube.com/watch?v=pYLOuuR7HI0
Re: Simplifying Docker on OS X
#27From someone who has wasted many hours trying to get B2D working, I have ended up using https://github.com/codekitchen/dinghy Easier to use, more reliable and some nice features like the OPs .docker DNS and NFS shares. The maintainer is very responsive and I recommend it to anyone who is struggling with docker on OSX.
Re: Simplifying Docker on OS X
#28Pretty cool trick to make the OS X docker hacks feel transparent. I've been tempted into getting a Linux laptop just because using Docker on OS X feels so hacky.
Just use Vagrant! Start a Vagrant VM on your Mac and do the Docker stuff inside it.
Re: Simplifying Docker on OS X
#29Thank you! I'll have to check this out. It baffles me that a company such as Docker has yet to make using its primary product on Mac OS X simple plug and play. Needing to remember to run `eval $(docker-machine env docker)` is not a sustainable solution. Hell I know about this and would occasionally forget and become confused at the error messages. In fact I put this horrible hack into my ~/.bash_profile (I wouldn't r…
Re: Simplifying Docker on OS X
#30Earlier quoted context omitted.
Been using Linux on my work macbooks since 2009. There are some bumps involved, but it works really well on the awesome Apple hardware.
How's the battery life?
If you forget your charger, there is serious range anxiety. Luckily, I've been running PC laptops for years and have gotten completely used to bringing my charger any time I take my laptop.