让Linux内核支持AUFS文件系统
1. Linux 4.x patch with AUFS
参考:
Docker安装: Get Docker Engine - Community for Ubuntu (https://docs.docker.com/install/linux/docker-ce/ubuntu/)
AUFS官网: http://aufs.sourceforge.net/ ★★★
AUFS官网: https://github.com/sfjro/aufs4-standalone
AUFS补丁: Linux Kernel AUFS Patch (https://0066.in/archives/709?utm_source=tuicool&utm_medium=referral)
AUFS补丁: Ubuntu 14.04 with 4.0.4 kernel and latest AUFS from source (https://zackreed.me/ubuntu-14-04-with-4-0-4-kernel-and-latest-aufs-from-source/)
-
检查内核是否支持AUFS
$ grep aufs /proc/filesystems nodev aufs
-
检查Docker使用的FS驱动
$ docker info Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: true
Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Ove