瀏覽代碼

promote overlay(2) graphdriver

Now that overlay has matured, using
overlay is a better choice than devicemapper
on loopback devices.

This change promotes overlay in the
priority list. It also adds the
overlay2 graphdriver to the list
because overlay2 (if supported)
should be preferred over overlay.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 8 年之前
父節點
當前提交
299beff1c4
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      daemon/graphdriver/driver_linux.go

+ 2 - 1
daemon/graphdriver/driver_linux.go

@@ -56,8 +56,9 @@ var (
 		"aufs",
 		"aufs",
 		"btrfs",
 		"btrfs",
 		"zfs",
 		"zfs",
-		"devicemapper",
+		"overlay2",
 		"overlay",
 		"overlay",
+		"devicemapper",
 		"vfs",
 		"vfs",
 	}
 	}