1
0
mirror of https://github.com/docker/cli.git synced 2026-01-22 03:22:01 +03:00
Files
cli/components/engine/daemon
Sebastiaan van Stijn 403fcf5047 Perform fsmagic detection on driver's home-dir if it exists
The fsmagic check was always performed on "data-root" (`/var/lib/docker`),
not on the storage-driver's home directory (e.g. `/var/lib/docker/<somedriver>`).

This caused detection to be done on the wrong filesystem in situations
where `/var/lib/docker/<somedriver>` was a mount, and a different
filesystem than `/var/lib/docker` itself.

This patch checks if the storage-driver's home directory exists, and only
falls back to `/var/lib/docker` if it doesn't exist.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: f9c8fa305e1501d8056f8744cb193a720aab0e13
Component: engine
2017-12-04 17:10:07 -08:00
..
2017-11-29 11:22:57 -08:00
2017-09-08 18:23:21 -04:00
2017-10-24 15:39:34 -04:00
2017-10-18 10:26:58 +08:00
2017-09-06 12:05:19 -04:00
2017-11-23 15:41:59 -05:00
2017-07-31 13:16:46 -07:00
2017-11-27 17:32:12 -08:00
2017-10-24 15:39:34 -04:00
2017-05-16 14:25:32 -07:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-11-27 17:32:12 -08:00
2017-11-27 17:32:12 -08:00
2017-11-27 17:32:12 -08:00
2017-07-31 13:16:46 -07:00
2017-10-19 11:09:29 -07:00
2017-11-29 11:22:57 -08:00
2017-07-31 13:16:46 -07:00
2017-11-27 14:27:40 -08:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-08-18 17:09:27 -07:00
2017-11-03 01:46:58 +01:00
2017-08-24 15:08:31 -04:00
2017-07-18 12:09:26 +08:00
2017-07-31 13:16:46 -07:00
2017-09-12 12:09:59 -04:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-05-16 11:30:06 -07:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-09-06 12:05:19 -04:00
2017-09-06 12:05:19 -04:00
2017-07-03 13:13:09 -07:00
2017-05-16 15:11:39 -07:00
2017-06-07 11:45:33 -04:00