码迷,mamicode.com
首页 > 其他好文 > 详细

Docker18.06.1-ce安装(RHEL7)后启动失败, 原因(xfsprogs版本过低)

时间:2018-09-15 11:34:12      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:eating   ror   daemon   cti   initial   color   status   stat   日志   

  • 问题分析:

使用/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

 

Docker18.06.1-ce安装(RHEL7)后启动失败, 原因(xfsprogs版本过低)

标签:eating   ror   daemon   cti   initial   color   status   stat   日志   

原文地址:https://www.cnblogs.com/loopsun/p/9650301.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!