-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Commit
Overlay tests were failing when /var/tmp was an overlay mount with a misleading message. Now overlay tests will be skipped when attempting to be run on overlay. Tests will now use the TMPDIR environment variable instead of only /var/tmp Fixes #21686 Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,7 +120,7 @@ func Init(home string, options []string, uidMaps, gidMaps []idtools.IDMap) (grap | |
backingFs = fsName | ||
} | ||
|
||
// check if they are running over btrfs or aufs | ||
// check if they are running over btrfs, aufs, zfs or overlay | ||
switch fsMagic { | ||
case graphdriver.FsMagicBtrfs: | ||
logrus.Error("'overlay' is not supported over btrfs.") | ||
|
@@ -131,6 +131,9 @@ func Init(home string, options []string, uidMaps, gidMaps []idtools.IDMap) (grap | |
case graphdriver.FsMagicZfs: | ||
logrus.Error("'overlay' is not supported over zfs.") | ||
return nil, graphdriver.ErrIncompatibleFS | ||
case graphdriver.FsMagicOverlay: | ||
logrus.Error("'overlay' is not supported over overlay.") | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dmcgowan
Author
Member
|
||
return nil, graphdriver.ErrIncompatibleFS | ||
} | ||
|
||
rootUID, rootGID, err := idtools.GetRootUIDGID(uidMaps, gidMaps) | ||
|
Can you please elaborate why overlay over overlay does not work anymore respectively is no longer supported?
We use Docker in Docker (running the Docker Engine inside a Docker Container) with both Docker Engines using
--storage-driver overlay
. This used to work with Docker 1.10.3 but does not work with Docker 1.11.1.