|
@@ -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.")
|
|
|
+ return nil, graphdriver.ErrIncompatibleFS
|
|
|
}
|
|
|
|
|
|
rootUID, rootGID, err := idtools.GetRootUIDGID(uidMaps, gidMaps)
|