docker 升级后启动原来的容器会报如下错误。
[root@hecs ~]# docker start wiz
Error response from daemon: Unknown runtime specified docker-runc
Error: failed to start containers: wiz
解决方法:
[root@hecs ~]# grep -rl 'docker-runc' /var/lib/docker/containers/ | xargs sed -i 's/docker-runc/runc/g'
[root@hecs ~]# systemctl stop docker
[root@hecs ~]# systemctl start docker
不能使用 systemctl restart docker !!!