yum docker升级后无法启动
日志中报如下错误
Apr 24 15:24:20 dockerd[15989]: failed to start daemon: error initializing graphdriver: prior storage driver devicemapper is deprecated and will be removed in a future release; update the the daemon configuration and explicitly choose this storage driver to continue using it; visit https://docs.docker.com/go/storage-driver/
Apr 24 15:24:20 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Apr 24 15:24:20 systemd[1]: Failed to start Docker Application Container Engine.
解决办法是需要指定storage driver
对应配置项storage-driver添加到/etc/docker/dameon.json文件中.
{
"storage-driver": "devicemapper"
}

浙公网安备 33010602011771号