问题描述:
闲来无事就在开发电脑上执行了下sudo apt-get upgrade 升级下软件, 升级后docker启动失败.
使用 journalctl -xeu docker.service 查看docker执行日志:
Mar 04 16:48:10 pop-os dockerd[39273]: time="2023-03-04T16:48:10.351879912+08:00" level=warning msg="Base device already exists and has filesystem ext4 on it. User specified filesystem will be ignored." storage-driver=devicemapper
Mar 04 16:48:10 pop-os dockerd[39273]: time="2023-03-04T16:48:10.399328995+08:00" level=error msg="[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

在执行sudoapt-getupgrade后,Docker无法启动,日志显示devicemapper存储驱动已弃用。解决方案是更新/etc/docker/daemon.json文件,明确指定使用devicemapper存储驱动,从而使Docker能够正常启动。
最低0.47元/天 解锁文章
6450

被折叠的 条评论
为什么被折叠?



