docker升级之后导致容器启动失败no such runtime 'docker-runc'

 

 [root@ghw ~]# grep -rl ‘docker-runc’ /var/lib/docker/containers/
/var/lib/docker/containers/d14384b4c381b7135eaf2d60c4b5237ca97dc2d14903e918b41cd48cc54dc602/config.v2.json
/var/lib/docker/containers/d14384b4c381b7135eaf2d60c4b5237ca97dc2d14903e918b41cd48cc54dc602/hostconfig.json
[root@ghw ~]# grep -rl ‘docker-runc’ /var/lib/docker/containers/ | xargs sed -i ‘s/docker-runc/runc/g’
[root@ghw ~]# systemctl restart docker

posted @ 2021-01-27 09:41  bob_zb  阅读(636)  评论(0编辑  收藏  举报