HNHacker News
TopNewBestAskShowJobs

tianon

45 karma · joined October 4, 2013

[ my public key: https://keybase.io/tianon; my proof: https://keybase.io/tianon/sigs/EijdJyHgKLKtpfNCnRF2r4Mro5_sZsdXE3uFwtGIZL8 ]
submissionscomments
tianon··on Docker Official Images Are Moving to Alpine Linux
Primary curator of the program here (https://github.com/docker-library/official-images/blob/319cb...).

"Moving" is a bit of a strong word. It would be much more accurate to say "providing alternatives". For example, the "golang" image now has an "alpine" variant for each supported version (https://hub.docker.com/_/golang/), but the default variant is still Debian-based (especially given that switching the base outright would break far too many existing Dockerfiles). Additionally, the documentation calls out that there might be libc compatibility issues in the spirit of trying to ensure our users are properly informed about the potential problems they might run into in their quest for the smallest possible base: https://github.com/docker-library/docs/blob/b7b6b86124682ef1...

I would definitely welcome PRs to make this verbiage more accurate or more informative of pros and cons.

tianon··on Docker 1.5: IPv6 support, read-only containers, stats, and more
It does have linked local addresses by default. It's the more complicated setup of actually routing IPv6 addresses outside our current host that's not enabled by default.

https://docs.docker.com/articles/networking/#ipv6 has more of the details (and the discussion at https://github.com/docker/docker/pull/8947#discussion_r22534... is also useful)

Basically, we can't use existing router advertisements (as I understand it) because you also have to tell your current IPv6 router that the entire prefix you use for Docker needs to go to this one host as opposed to just the one IPv6 address that host would auto-assign itself via RA.

Since there's manual outside-Docker setup involved, we can't really automate this bit. If there's a nice clean way to do so, we're definitely open to a PR (I'd love to have something simpler myself)! :)

tianon··on Google Launches Managed Service for Running Docker Apps on Its Platform
As one of the maintainers in question, I'd absolutely mirror this whole statement: if any of the image upstreams have an important update available that isn't applied, we're very interested in rectifying that.
tianon··on Docker Hub Official Repos: Announcing Language Stacks
This question was asked on https://github.com/docker-library/golang/issues/11#issuecomm... too, but the main reason is that the "debian" base images are tightly controlled and kept really minimal, so it's easy to make the new images as minimal as they can be too. The Ubuntu images are also great, but they include more stuff as part of keeping a consistent experience, so they don't have the same focus on minimalism that the Debian images can.
tianon··on Docker 0.8: Quality, new builder features, btrfs, OSX support
For even more fun, check out the interactive tutorial: http://www.docker.io/gettingstarted/
tianon··on Docker 0.8: Quality, new builder features, btrfs, OSX support
See also https://github.com/jpetazzo/pxe (especially https://github.com/jpetazzo/pxe#i-want-moar-fun).
tianon··on Docker 0.8: Quality, new builder features, btrfs, OSX support
I have my router serving up TFTP with the following pxelinux.cfg (and the appropriate vmlinuz64 and initrd.img extracted from the b2d ISO):

  LABEL boot2docker
          MENU LABEL boot2docker v0.5.2
          KERNEL boot2docker/v0.5.2/vmlinuz64
          APPEND initrd=boot2docker/v0.5.2/initrd.img loglevel=3 user=docker
tianon··on Docker 0.8: Quality, new builder features, btrfs, OSX support
Which version of boot2docker are you using? Also, which version of VirtualBox?

See also https://github.com/steeve/boot2docker/issues/48 which has some more information about this specific issue.

tianon··on Docker 0.8: Quality, new builder features, btrfs, OSX support
Or even bare metal. Personally, I extract the kernel and initrd and use it directly via PXE.