Earlier quoted context omitted.
Docker under OSX is a real pain to solve ASAP. I've set Docker on my Linux machine and it's working like a charm. Then I had to do the same for my coworkers running OSX, the vbox shared folders are definitely unusable. Now it's been few days that I'm trying to find the best way to have a two-way sync in order to sync back changes from docker to the OSX folder (eg. when you upload a file and it's saved in the /public…
There's https://github.com/codekitchen/dinghy if you want to mount the Mac host volumes inside boot2docker via NFS. We have a Vagrantfile that does this, but dinghy packages it all up nicely. At the end of the day though, Docker as a development environment is really bad on OS X until a VM vendor fixes file share performance. I really wish Docker would make it a priority to have decent Mac support.
Announcing Docker ToolBox
41–50 of 73 posts
Re: Announcing Docker ToolBox
#42I bought a new MacBook 2 days ago, and setting it up has never been easier.
Almost all of my development takes place in a Docker environment now, and the Docker ToolBox makes installing that a breeze.
Less XCode, Homebrew, rubygems, npm. More Docker.
Re: Announcing Docker ToolBox
#43Sadly no support for Parallels.
Reference: https://github.com/docker/machine/pull/939
Re: Announcing Docker ToolBox
#44Just use GNU/Linux already!
I always advocate for Linux use (in addition to principles, most things are easier as well), but everyone has their preferred environment.
Re: Announcing Docker ToolBox
#45Earlier quoted context omitted.
Yes, and I think its much worse in terms of reliability. When I save a file (say a Gemfile), sometimes only half of it shows up inside the container. Anybody know what would cause VMWare Fusion (or any VM for that matter) to behave this way?
I run into this. Files are only partially synced. You end up with broken code. If you are lucky it has a syntax error. If you are not lucky you get mysterious bugs. The work around is to go back and try re-editing the file to retrigger a sync. There are lots recommendations to try Fusion over Vbox but I think this issue makes it a wash.
Re: Announcing Docker ToolBox
#46Nice one. However, VirtualBox's shared-folder support is so god-awfully slow, that here at work we all swapped out the regular boot2docker setup for boot2docker-xhyve[0] which is so much faster at nearly everything that it's not even a comparison. Now, with ailispaw's dockeroot-xhyve you can even get a VM root image that can be grown on the fly, so you never run out of space on your VM when building large Docker imag…
Has anyone tried VMWare fusion to run a Docker host VM? Virtualbox shared folders are unusable for my purpose (compiling software on Linux).
Re: Announcing Docker ToolBox
#47Earlier quoted context omitted.
> Should I have two separate docker images, one running the application and the other running MySQL, with them talking to each other across the host OS? Yes. > Or can they be configured in a single docker image? They can , but it's an anti-pattern and there are hurdles to overcome if you try managing processes using an init system.
People differ on this point. Discourse, for example, ships a single Docker container which runs the Rails-based webapp, a database server (PostgreSQL), and a key-value store (Redis). They have been using this same setup in production for quite a while now.
Re: Announcing Docker ToolBox
#48Does anyone have any idea how to get the Docker Quickstart Terminal app to use iterm2/zsh instead of Terminal/bsh?
Re: Announcing Docker ToolBox
#49Nice one. However, VirtualBox's shared-folder support is so god-awfully slow, that here at work we all swapped out the regular boot2docker setup for boot2docker-xhyve[0] which is so much faster at nearly everything that it's not even a comparison. Now, with ailispaw's dockeroot-xhyve you can even get a VM root image that can be grown on the fly, so you never run out of space on your VM when building large Docker imag…