Live data from Hacker News

Docker 0.7 runs on all Linux distributions

blog.docker.io

111–120 of 131 posts

Re: Docker 0.7 runs on all Linux distributions

#111
post #91
post #52

Earlier quoted context omitted.

Quick update: until we figure out what broke the build on our ReadTheDocs.org setup, we switched the default branch to master. So if you visit http://docs.docker.io you will get the bleeding edge build of the documentation, which happens to be accurate since we released it this morning :) Sorry about that. One more lesson learned on our quest to ultimate quality!

The Arch Linux instructions are still wrong; they say that aufs3 is required but it isn't anymore. http://docs.docker.io/en/master/installation/archlinux/ Is the warning "This is a community contributed installation path. The only ‘official’ installation is using the Ubuntu installation path. This version may be out of date because it depends on some binaries to be updated and published." still true? Fedora also has…

You're right, the arch docs need some updating. Pushing that to the queue. Thanks!

Re: Docker 0.7 runs on all Linux distributions

#112
post #111
post #91

Earlier quoted context omitted.

The Arch Linux instructions are still wrong; they say that aufs3 is required but it isn't anymore. http://docs.docker.io/en/master/installation/archlinux/ Is the warning "This is a community contributed installation path. The only ‘official’ installation is using the Ubuntu installation path. This version may be out of date because it depends on some binaries to be updated and published." still true? Fedora also has…

You're right, the arch docs need some updating. Pushing that to the queue. Thanks!

Yay! You should have have a section on installing from source too. This is part of doing open-source well.

Re: Docker 0.7 runs on all Linux distributions

#113
post #49
post #13

Earlier quoted context omitted.

Not yet, but that's coming very soon. We've been artificially limiting the number of architectures supported to limit the headache of managing cross-arch container images. We're reaching the point where that will no longer be a problem - meanwhile the Docker on Raspberry Pi community is growing restless and we want to make them happy :)

So the software in a container runs on the host-OS and there is no extra OS installed in the container?

There's a sleight of hand going on here.

The boundary between "kernel" and "libraries like libc" is very stable and doesn't change often. That means that often, the kernel distributed by Arch can work reasonably well in an Ubuntu system, and vice versa.

With that in mind: The "ubuntu" image ships the "ubuntu-glibc" and "ubuntu-bash" and "ubuntu-coreutils" and so on, but they continue to work on your Arch host because the system calls don't ever change.

You can't link (say) ubuntu-glibc into arch-bash though, which is why containers are built off of a "base ubuntu image" in the first place.

Re: Docker 0.7 runs on all Linux distributions

#114
post #111

Earlier quoted context omitted.

You're right, the arch docs need some updating. Pushing that to the queue. Thanks!

Yay! You should have have a section on installing from source too. This is part of doing open-source well.

We explain how to setup a dev and build environment here: http://docs.docker.io/en/latest/contributing/devenvironment/

I guess we could reference that it the install docs.

Re: Docker 0.7 runs on all Linux distributions

#116
post #113
post #49

Earlier quoted context omitted.

So the software in a container runs on the host-OS and there is no extra OS installed in the container?

There's a sleight of hand going on here. The boundary between "kernel" and "libraries like libc" is very stable and doesn't change often. That means that often, the kernel distributed by Arch can work reasonably well in an Ubuntu system, and vice versa. With that in mind: The "ubuntu" image ships the "ubuntu-glibc" and "ubuntu-bash" and "ubuntu-coreutils" and so on, but they continue to work on your Arch host because…

ah, so only the host-kernel is used and I have to add (distribution specific) libraries to the container?

Re: Docker 0.7 runs on all Linux distributions

#117
post #53

EL6 users (RHEL, CentOS, SL), I've just learned Docker is now in EPEL (testing for now, but will hit release soon): yum --enablerepo=epel-testing install docker-io PS: make sure you have "cgconfig" service running

Hmm. Thanks for this, but I couldn't find package "docker-io" in epel-testing.

Could you post a detailed instruction?

Thanks a lot!

Re: Docker 0.7 runs on all Linux distributions

#119
post #7

Does anyone know if it is possible to set a disk quota on a container?

I'd be interested in this as well. The workarounds mentioned seems to require a bit to much hacking for my liking. Are there any actual plans for implementing simple disk-usage (and perhaps network) limiting?

Re: Docker 0.7 runs on all Linux distributions

#120
post #9

I see docker come around every now and then here. I'm a smalltime developer shop, small team, small webspps. What can docker do for me? Can this reduce the time it takes me to put up and Ubuntu installation on Digital Ocean? Is this more for larger companies ?

You will be able to have multiple Ubuntu servers running on one Ubuntu VPS on Digital Ocean. Each of them may have some initial state (installed some software, configuration) that you will be able to spawn as separate virtual machine. The "inside" machine will consume mnimal amount of memory (for running applications) and not for whole OS as in case of "real virtual machine". Also, you will be able to spawn and destr…

Well, Ubuntu can do that without Docker; just with LXC. Docker uses LXC and does other things with it, but if all you want to do is run multiple lightweight Ubuntu VMs, then just use LXC.
Post reply on HN