![如何让docker在CentOS 7中使用aufs?](https://linux22.com/image/647545/%E5%A6%82%E4%BD%95%E8%AE%A9docker%E5%9C%A8CentOS%207%E4%B8%AD%E4%BD%BF%E7%94%A8aufs%EF%BC%9F.png)
Docker 配置文件的位置在哪里?
我尝试使用以下选项修改 /etc/sysconfig/docker:
DOCKER_OPTS="-s aufs --fixed-cidr=10.1.1.0/26 --bip=10.1.1.62"
docker info 显示
Containers: 0
Images: 0
Storage Driver: devicemapper
Pool Name: docker-253:1-2149483840-pool
Pool Blocksize: 65.54 kB
Data file: /mnt/ext4/docker/devicemapper/devicemapper/data
Metadata file: /mnt/ext4/docker/devicemapper/devicemapper/metadata
Data Space Used: 307.2 MB
Data Space Total: 107.4 GB
Metadata Space Used: 733.2 kB
Metadata Space Total: 2.147 GB
Library Version: 1.02.82-git (2013-10-04)
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.el7.x86_64
Operating System: CentOS Linux 7 (Core)
我该如何制作存储驱动程序:aufs?请帮忙。谢谢
答案1
您需要安装支持 AUFS 的内核。