overlay2 requires high core support, low core uses overlay

1. Open the file system ftype

umount /dev/mapper/centos-home //The path of the device can be found in xfs_info
//If the prompt device is busy
umount -l /dev/mapper/centos-home //Force uninstall and restart at the same time
mkfs.xfs -n ftype=1 /dev/mapper/centos-home // reformat the device, here
mount /dev/mapper/centos-home /home //remount
xfs_info /home //View the results

2. Docker configuration specifies storage-driver

cat /etc/docker/daemon.json
{
   "storage-driver":"overlay2",
   "data-root":"/data/docker/lib",
   "exec-root":"/data/docker/run",
   "registry-mirrors": ["https://mirror.ccs.tencentyun.com","http://hub-mirror.c.163.com","https://docker.mirrors.ustc.edu. cn"]
}
点赞(0)

评论列表 共有 0 评论

暂无评论

微信服务号

微信客服

淘宝店铺

support@elephdev.com

发表
评论
Go
顶部