在ubuntu 中使用Docker容器搭建javaweb运行环境,使用commit方式搭建镜像后启动,报错了
Error response from daemon: Cannot start container 62aa42d367dbb23ee3f6dd7b792774ab1fb4eaf0f89f0ce050297d80c866406c: System error: exec format error
我的问题是:
yyf-Lenovo-Product yyf # docker run -i -t --rm ubuntu:14.04 /bin/bash
Error response from daemon: Cannot start container bcf0a956989f1e2312fea1e0c9eae75163284fb1ebcf312d2e1c1577067e1254: failed to update store for object type *libnetwork.endpointCnt: Key not found in store
我是这样解决的:
yyf-Lenovo-Product yyf # service docker restart
docker stop/waiting
docker start/running, process 5012
再一次rundocker命令:
yyf-Lenovo-Product yyf # docker run -i -t --rm ubuntu:14.04 /bin/bash
root@d5bf1e46325f:/#