5 ms·
Glad to see they finally gave some love to running docker on osx, as it is definitely a pain point for a lot of people. Hopefully Docker Toolbox is what we've b
by reustle 11y ago
Glad to see they finally gave some love to running docker on osx, as it is definitely a pain point for a lot of people. Hopefully Docker Toolbox is what we've been waiting for.
- bkeroack 11y agoI imagine it's still using virtualization under the hood, so it's no more "real" Docker than spinning up a Vagrant ubuntu box and running containers there.
- SloopJon 11y agoI started looking at Docker during vacation last week. I had a slightly outdated copy of Boot2Docker that didn't play well with VirtualBox 5.0. With limited bandwidth, I downloaded the docker-machine executable rather than the whole Boot2Docker package. Worked fine, and I was able to set up a variety of containers. When I got back to work this week, I started setting some of this up on my work Mac, and found a release candidate for the Docker Toolbox. It looks like it's the docker, docker-machine, and docker-compose executables plus the Kitematic GUI (haven't tried that yet). Looks like a decent package. Grumpy, off-topic digression after a week with limited Internet: please supply offline docs (Unreal), don't put a git clone command in the configure script to build them (Rust), don't require an external crate in a tutorial (random number generator for Rust), don't put a link to a CDN in your offline docs (Leap Motion SDK), don't require activation after a 2 GB download (Unity Personal). I did luck out and find a WebSocket library in the Go tutorial, which I used to grab JSON from the Leap to load into MongoDB (in a Docker container). Grumpy, mostly on-topic digression: docker-compose doesn't work on my work Mac, and no one seems to know how to fix it: https://github.com/docker/compose/issues/271 https://github.com/docker/compose/issues/271 Haven't yet managed to rebuild it locally as suggested. Edit: some observations after installing Docker Toolbox. Kitematic is an Electron app (complete with a Toggle DevTools menu that covers the window with a web dev console). It doesn't tell you what it's doing, but docker-machine shows that it created a machine named default using the VirtualBox driver with the default settings. Opening the Docker Quickstart Terminal stopped (and deleted?) the machine that Kitematic made and started a new one with the same name and settings. I think I'd be just as happy with only the docker and docker-machine executables.
- jmorgan 11y agoThanks for trying the Toolbox! Did you happen to run both at the same time? It's possible there was a race condition while creating the default VM via Kitematic and the Quickstart Terminal at the same time. Lastly, choosing "Custom Install" in the Toolbox installer will let you de-select Kitematic, Docker Quickstart Terminal or any other parts you may not want!
- SloopJon 11y agoThanks for the reply. I hadn't quit Kitematic by the time I started Quickstart Terminal, but Kitematic had completed the creation of its VM: docker-machine ls showed default as running, and the docker cli button at the bottom of the window opened a usable docker session in that machine. It looks like Quickstart Terminal looks for the default VM using VBoxManage, rather than docker-machine, and hardcodes its location as /usr/local/bin. Mine's in /usr/bin, so the script failed to detect the existing machine. I don't have time to report this now, but I'll look at filing an issue this evening.
- jmorgan 11y agoThis is very helpful! Thanks for the info