Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The bundles dir used to be automatically made a volume if BINDDIR was not set. The `PKGCACHE_*` stuff was added recently which gets added to `DOCKER_MOUNT`. This breaks the case where someone wants to use the package cache (DOCKER_INCREMENTAL_BINARY is enabled) but has not specified a bind dir but needs the bundles dir made a volume. Moves the package cache handling to after the bundles dir is made a volume. Before this patch, if you have `DOCKER_GRAPHDRIVER` set to anything other than vfs, the tests in the daemon suite (and swarm suite, and registry suite) will fail to run since they cannot startup a daemon (except for speicifc cases where <driver> over <driver> is possible, like devmapper). Signed-off-by: Brian Goff <[email protected]>
- Loading branch information