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.