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
声明:原创博客请在转载时保留原文链接或者在文章开头加上本人博客地址,如发现错误,欢迎批评指正。