diff --git a/aufs/aufs.go b/aufs/aufs.go index 97c671207b..e0727440e2 100644 --- a/aufs/aufs.go +++ b/aufs/aufs.go @@ -76,6 +76,10 @@ func Init(root string) (graphdriver.Driver, error) { // We cannot modprobe because inside dind modprobe fails // to run func supportsAufs() error { + // We can try to modprobe aufs first before looking at + // proc/filesystems for when aufs is supported + exec.Command("modprobe", "aufs").Run() + f, err := os.Open("/proc/filesystems") if err != nil { return err