安装docker-ce-19.03.12无法启动

出现以下错误 

Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

 运行journalctl -xe

Jul 08 16:35:15 iZ25ds1pw6kZ dockerd[30473]: time="2020-07-08T16:35:15.853996603+08:00" level=info msg="Creating filesystem xfs on device docker-253:1-528408-base, mkfs args: [-m crc=0,finobt=0 /dev/mapper/docker-253:1-528408-base]" storage-driver=devicema
Jul 08 16:35:15 iZ25ds1pw6kZ dockerd[30473]: time="2020-07-08T16:35:15.855213120+08:00" level=info msg="Error while creating filesystem xfs on device docker-253:1-528408-base: exit status 1" storage-driver=devicemapper
Jul 08 16:35:15 iZ25ds1pw6kZ dockerd[30473]: time="2020-07-08T16:35:15.855246005+08:00" level=error msg="[graphdriver] prior storage driver devicemapper failed: exit status 1" 

 出现以下错误

Error while creating filesystem xfs on device

  • 解决方法

yum install xfsprogs -y

 启动docker正常

你可能感兴趣的:(docker)