您当前的位置: 首页 >  docker

qq_34412985

暂无认证

  • 2浏览

    0关注

    1061博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

启动docker实例时报错docker container state OCI runtime create failed: container with id exists:unknown

qq_34412985 发布时间:2020-01-13 11:46:27 ,浏览量:2

docker container state OCI runtime create failed: container with id exists:unknown

原因是在linux中的/etc/rc.local中添加了以下文件

sudo docker start e63854a6b21f //oracle sudo docker start b37331382099 //mysql sudo docker start 5e7309daaa45 //mongodb

因为不存在这几个容器,所以报错,重启docker服务没有用,将containerId容器id修改后重启服务器后,再次启动容器正常

查看/var/log/messages

time="2020-01-12T21:38:27.873627837-05:00" level=info msg="Docker daemon" commit=6a30dfc graphdriver(s)=overlay2 version=19.03.2 Jan 12 21:38:27 localhost dockerd: time="2020-01-12T21:38:27.873859142-05:00" level=info msg="Daemon has completed initialization" Jan 12 21:38:27 localhost dockerd: time="2020-01-12T21:38:27.964932795-05:00" level=info msg="API listen on /var/run/docker.sock" Jan 12 21:38:27 localhost systemd: Started Docker Application Container Engine. Jan 12 21:38:28 localhost kernel: docker0: port 1(veth757a9cb) entered blocking state Jan 12 21:38:28 localhost kernel: docker0: port 1(veth757a9cb) entered disabled state Jan 12 21:38:28 localhost kernel: device veth757a9cb entered promiscuous mode Jan 12 21:38:28 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): veth757a9cb: link is not ready

关注
打赏
1653291990
查看更多评论
立即登录/注册

微信扫码登录

0.0446s