Hi all, just a quick note that docker 0.7rc5 is out. It's the first "real" release candidate - it's based on the final storage driver API, and ships both an aufs and devmapper driver, with dynamic selection based on the capabilities of the system. This addresses the biggest issue which has delayed the release, which was the upgrade path for existing docker installations on aufs systems.Michael wrote a quick guide here: https://github.com/crosbymichael/docker/blob/0.7.0-rc5/graphdriver/RC-README.md
[root@centos6-dev tmp]# ./docker -d -D
2013/11/21 10:01:38 WARNING: You are running linux kernel version 2.6.32-358.14.1.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.8.0.
[/var/lib/docker|f5188be7] +job initapi()
[/var/lib/docker|f5188be7.initapi()] Creating server
[debug] driver.go:71 Error loading driver aufs: AUFS was not found in /proc/filesystems
[debug] deviceset.go:392 Generated prefix: docker-253:0-274157
[debug] deviceset.go:395 Checking for existence of the pool 'docker-253:0-274157-pool'
[debug] deviceset.go:230 loadMetadata()
[debug] deviceset.go:273 loadMetadata END
[debug] runtime.go:617 Using graph driver devicemapper
[debug] network.go:150 Creating bridge docker0 with network 172.17.42.1/16
[/var/lib/docker|f5188be7] -job initapi() = ERR (Error creating bridge: operation not supported)
2013/11/21 10:01:38 initapi: Error creating bridge: operation not supported
--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I just tried with centos 6.4 and docker 0.7.0 and I get the same error. I tried setting up the bridge myself, but my networking-fu is not very strong.
After some time on it, this is what i done to have a running docker config on Centos 6.4 :- yum install bridge-utils lxc (and hwloc / libcgroup maybe ?)- Enable ipv4 forwarding ( "sysctl net.ipv4.ip_forward=1" & vi /etc/sysctl.conf)- Disable cgconfig & cgred, add "none /cgroup cgroup defaults 0 0" to /etc/fstab and mount /cgroup- Add a bridged interface (with any ip address...). In my case i have a /etc/sysconfig/network-scripts/ifcfg-brdocker with :DEVICE=brdockerONBOOT=yesTYPE=BridgeNETMASK=255.255.0.0IPADDR=172.88.0.1STP=offDELAY=0- Add masquerading on your main interface (and maybe docker :p) : iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE- Start docker : docker -d -b brdockerAll problems are related to bridging & iptables... need to have more comprehensive bridge error messages & a review of iptable processingHope all this can help :)
(sorry for my English... i'm french, and don't take the time to re-read…)
--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
you have to update to latest lxc version from github.
I got same results as you when using the "epel testing" lxc package.
Repackaging lxc from github solved the cgroups problem.
François, thank you for bridge tip :)
Hi Brian,
you have to update to latest lxc version from github.
I got same results as you when using the "epel testing" lxc package.
Repackaging lxc from github solved the cgroups problem.
On Wednesday, November 27, 2013 10:24:21 AM UTC-6, forti wrote:Hi Brian,
you have to update to latest lxc version from github.
I got same results as you when using the "epel testing" lxc package.
Repackaging lxc from github solved the cgroups problem.
I'm puzzled by this. Does docker now depend on an unreleased version of the lxc userspace tools, or is there something wrong with the packaging that building from source fixes?
The version in the testing repos for fedora and epel is 0.9.0, and that's the latest released version I see at linuxcontainers.org.
--
On Wed, Nov 27, 2013 at 12:07, Brian Pitts wrote:On Wednesday, November 27, 2013 10:24:21 AM UTC-6, forti wrote:Hi Brian,
you have to update to latest lxc version from github.
I got same results as you when using the "epel testing" lxc package.
Repackaging lxc from github solved the cgroups problem.
I'm puzzled by this. Does docker now depend on an unreleased version of the lxc userspace tools, or is there something wrong with the packaging that building from source fixes?No, docker does not rely on an unreleased version of lxc. Whatever problem you're seeing is packaging-related.
I'm puzzled by this. Does docker now depend on an unreleased version of the lxc userspace tools, or is there something wrong with the packaging that building from source fixes?
The version in the testing repos for fedora and epel is 0.9.0, and that's the latest released version I see at linuxcontainers.org. ners support to the
--
Yes, that's correct, the goal is for RHEL6.5 to be a supported docker host (supported both by Docker and Red Hat).
On Wed, Nov 27, 2013 at 2:25 PM, Brian Lalor <bla...@bravo5.org> wrote:
Do you have any insight into how Docker’s going to be supported in RHEL 6.5? I’m assuming that announcement meant RHEL6.5 would be able to act as a *host*.
Yes, that's correct, the goal is for RHEL6.5 to be a supported docker host (supported both by Docker and Red Hat).
Are you able to speak publicly about what the position on kernels is going to be? And if RHEL 6.5 is getting a modern kernel, is there any possibility of a glibc upgrade as well?
This has been a major stumbling block for me to work with docker on RHEL 6.4 - and a clear roadmap would be very useful as I evaluate docker as a potential PROD management tool.
On Nov 28, 2013, at 7:40 AM, Ben Evans <b...@improbableworlds.net> wrote:
Are you able to speak publicly about what the position on kernels is going to be? And if RHEL 6.5 is getting a modern kernel, is there any possibility of a glibc upgrade as well?I would be floored if they did more than a minor version bump to the kernel or glibc. RHEL6 for enterprise folks who want a super-stable release. Seems to me like a major bump to either of those things would cause some serious consternation among their customers.
This has been a major stumbling block for me to work with docker on RHEL 6.4 - and a clear roadmap would be very useful as I evaluate docker as a potential PROD management tool.What’re the issues with glibc?
I'm not trying to be rude, but I don't see how this is a problem. With support for RHEL as a *host*, none of that matters. You can create a Fedora 19 container and use the latest stuff all you want, completely separate from the host. Am I missing something?
On Thu, Nov 28, 2013 at 1:00 PM, Brian Lalor <bla...@bravo5.org> wrote:
I'm not trying to be rude, but I don't see how this is a problem. With support for RHEL as a *host*, none of that matters. You can create a Fedora 19 container and use the latest stuff all you want, completely separate from the host. Am I missing something?I suspect we care about different things. I'm interested in production systems that actually matter, not development machines - and I'm trying to evaluate whether docker is suitable / mature enough for my use case yet.
--
You received this message because you are subscribed to the Google Groups "docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to docker-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
[ro...@stage02.dal05 docker]# docker run -i -t centos /bin/bash lxc-start: Error creating cgroups lxc-start: failed to spawn 'ffd4482f5c4a093b7a7be4d585e76ed28293c21aa6ef4b9473c018b6aaba6c4c' [error] commands.go:2445 Error getting size: bad file descriptor
We've been using Docker on our new CI server for a few weeks now on Centos 6.4 and it's been working great. Today we've upgraded to Centos 6.5 and along the way with the OS upgrade we've managed to upgrade lxc from 0.8.0 (rpmforge) to 0.9.0 (epel). And that broke Docker. We have started getting messages like these:[ro...@stage02.dal05 docker]# docker run -i -t centos /bin/bash lxc-start: Error creating cgroups lxc-start: failed to spawn 'ffd4482f5c4a093b7a7be4d585e76ed28293c21aa6ef4b9473c018b6aaba6c4c' [error] commands.go:2445 Error getting size: bad file descriptorI've downgraded lxc to 0.8.0 now and it works again. So, there is clearly something going on with lxc after 0.8.0 and 0.9.0 from EPEL does not seem to be working (at least for us).
Are you using the same version of docker? Is it the epel build or did you build it yourself?
That error output looks familiar. I know there were changes around the 0.7.0 release of docker that needed /var/lib/docker to be cleaned out. Perhaps 'save' your images while it is working. Rm /var/lib/docker, do the upgrade again, and then 'load' the images again.