- 问题分析:
使用/usr/bin/dockerd启动测试发现是文件系统无法创建
1 WARN[2018-09-15T10:47:39.886191433+08:00] Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man dockerd` to refer to dm.thinpooldev section. storage-driver=devicemapper 2 INFO[2018-09-15T10:47:40.220046362+08:00] Creating filesystem xfs on device docker-253:4-17133027-base, mkfs args: [-m crc=0,finobt=0 /dev/mapper/docker-253:4-17133027-base] storage-driver=devicemapper 3 INFO[2018-09-15T10:47:40.221230038+08:00] Error while creating filesystem xfs on device docker-253:4-17133027-base: exit status 1 storage-driver=devicemapper 4 ERRO[2018-09-15T10:47:40.221258767+08:00] [graphdriver] prior storage driver devicemapper failed: exit status 1 5 Error starting daemon: error initializing graphdriver: exit status 1
第三行日志可以找到mkfs的执行参数, 执行发现参数不正确
1 2 INFO[2018-09-15T10:47:40.220046362+08:00] Creating filesystem xfs on device docker-253:4-17133027-base, mkfs args: [-m crc=0,finobt=0 /dev/mapper/docker-253:4-17133027-base] storage-driver=devicemapper
- 解决问题
yum install xfsprogs
原文地址:https://www.cnblogs.com/loopsun/p/9650301.html
时间: 2024-10-12 04:39:39