Docker Community Forums

Share and learn in the Docker community.

Which versions of Docker ship with the LXC template fix (pull request #9039)?


(David Bain) #1

Regarding this pull request, https://github.com/docker/docker/pull/9039 related to LXC, I’d like to find out which versions of docker currently ship with this fix?

To quote from the pull request:

“Lxc driver was throwing errors for mounts where the mount point does not exist in the container.
This adds a create=dir/file mount option to the lxc template, to alleviate this issue.”

Specifically I’d like to know if version 1.4.x is the only one that includes this fix or if it is in 1.3.3.

Apparently this fixes issues that throw errors like this:

/usr/bin/sudo -n /usr/bin/docker run --name=prepare-build-6030-test --rm=true -v /var/lib/jenkins/jobs/Branches/workspace:/ci ci-base bash -c 'cd /ci && bash config/tests.sh’
lxc-start: No such file or directory - failed to mount ‘/var/lib/jenkins/jobs/Branches/workspace’ on '/usr/lib/x86_64-linux-gnu/lxc///ci’
lxc-start: failed to setup the mount entries for '0c2d7eb6b6cb0181b2495861ea362b794356e890b79782c28533526a8b4ad2de’
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn '0c2d7eb6b6cb0181b2495861ea362b794356e890b79782c28533526a8b4ad2de’
lxc-start: The container failed to start.
lxc-start: Additional information can be obtained by setting the --logfile and --logpriority options.


(Sven Dowideit) #2

I’m 99% sure its only 1.4.x

looking at https://github.com/docker/docker/commits/release-1.3

there are very few changes, and that one’s not in the list.


(David Bain) #3

Thanks Sven. So now I need to see if I can get Docker 1.4 to behave nicely with Centos 6.5 or Red Hat Enterprise 6.5.