Live data from Hacker News

Docker 0.8: Quality, new builder features, btrfs, OSX support

blog.docker.io

21–30 of 128 posts

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#21

Earlier quoted context omitted.

Too bad it depends on VirtualBox - had a lot of kernel panics when using it, so I decided to stick with VMware fusion.

You should be able to install the same iso into a VMware image. You'll need to expose the networking ports, but the information should be in the boot2docker script.

Or even bare metal. Personally, I extract the kernel and initrd and use it directly via PXE.

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#22
post #3

Just to clarify on the OSX support: obviously we did not magically get Darwin to support linux containers. But we put together the easiest possible way to run Linux containers on a Mac without depending on another machine. We do this by combining (1) docker in "client mode", which connects to (2) a super-lightweight linux VM using boot2docker. The details are on http://docs.docker.io/en/latest/installation/mac/

Too bad it depends on VirtualBox - had a lot of kernel panics when using it, so I decided to stick with VMware fusion.

Note that boot2docker will expose dockerd on the network if booted on VMware Fusion too. So if you boot in it, it works all the same.

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#23
post #3

Just to clarify on the OSX support: obviously we did not magically get Darwin to support linux containers. But we put together the easiest possible way to run Linux containers on a Mac without depending on another machine. We do this by combining (1) docker in "client mode", which connects to (2) a super-lightweight linux VM using boot2docker. The details are on http://docs.docker.io/en/latest/installation/mac/

Too bad it depends on VirtualBox - had a lot of kernel panics when using it, so I decided to stick with VMware fusion.

Really? When was the last time you tried it? I've been using VirtualBox for years and it's been pretty solid for me.

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#24
post #18
post #3

Just to clarify on the OSX support: obviously we did not magically get Darwin to support linux containers. But we put together the easiest possible way to run Linux containers on a Mac without depending on another machine. We do this by combining (1) docker in "client mode", which connects to (2) a super-lightweight linux VM using boot2docker. The details are on http://docs.docker.io/en/latest/installation/mac/

[deleted]

[deleted]

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#25
Was the OS X binary built without cgo? I can't seem to access containers in private https registries:

    $ docker login https://registry.example.com
    2014/02/05 14:36:20 Invalid Registry endpoint: Get https://registry.example.com/v1/_ping: x509: failed to load system roots and no roots provided
The hostname in question has a valid SSL certificate. I encountered a similar problem in the past with Go built from homebrew[1][2]. Has anyone else seen this?

[1] https://github.com/Homebrew/homebrew/pull/17758 [2] https://code.google.com/p/go/issues/detail?id=4791

Update: Filed a bug against docker, others are having the same issue. https://github.com/dotcloud/docker/issues/3946

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#26
I am interested in the BTRFS support in particular, it is clear that performance in FS is key. However, what I like the most about Docker is the ability to use layers and diff them. In effect, I want version control for images, because it allows me to not run extra provisioning tools for the images (just rely on simply Zookeeper stuff for app config). Whatever gives me 'vcs' for images in the most performant way, wins in my book.

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#27
post #14

I'm curious about how the focus on multiple, ABI-incompatible platforms will affect the pace and momentum of Docker development. So far, Docker has benefitted a lot from the focus on amd64 userland on Linux.

Personally, when I read "OSX support", I thought that meant that there would now be containers with Darwin-ABI binaries inside them. So on Linux, you'd use cgroups for Linux-ABI binaries and a VM for Darwin-ABI, just as on OSX you use a VM for Linux-ABI (and presumably would use the OSX sandbox API for Darwin-ABI containers.)

This "native sandboxing for own-ABI if available, VM if not, and VM for everything else" approach would extend to any other platform as well, I'd think (Windows, for example.) I'm surprised that this isn't where Docker is going, at least for development and testing of containers.

(Though another alternative, probably more performant for production, would be something like having versions of CoreOS for each platform--CoreOS/Linux, CoreOS/Darwin, CoreOS/NT, and so on--so you'd have a cluster of machines with various ABIs, where any container you want to run gets shipped off to a machine in the cluster with the right ABI for it.)

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#28
post #21

Earlier quoted context omitted.

You should be able to install the same iso into a VMware image. You'll need to expose the networking ports, but the information should be in the boot2docker script.

Or even bare metal. Personally, I extract the kernel and initrd and use it directly via PXE.

Is that to say that you.. wait, what are you doing?

Re: Docker 0.8: Quality, new builder features, btrfs, OSX support

#30
post #3

Just to clarify on the OSX support: obviously we did not magically get Darwin to support linux containers. But we put together the easiest possible way to run Linux containers on a Mac without depending on another machine. We do this by combining (1) docker in "client mode", which connects to (2) a super-lightweight linux VM using boot2docker. The details are on http://docs.docker.io/en/latest/installation/mac/

Too bad it depends on VirtualBox - had a lot of kernel panics when using it, so I decided to stick with VMware fusion.

Are you sure it isn't caused by the mid-2010 macbook video card bug? I had it re-exposed when i upgraded past 10.6 and that laptop now reboots 8 times a day. Mostly from mac mail or when the power drops and it shifts video cards.
Post reply on HN