Docker踩坑

来源:互联网 发布:端口测试失败 编辑:程序博客网 时间:2024/06/06 13:32

Ubuntu16.04安装Docker,无法打开
安装结束报错为

Processing triggers for ureadahead (0.100.0-19) ...Errors were encountered while processing: docker-engineE: Sub-process /usr/bin/dpkg returned an error code (1)

尝试打开

root@hzy-pc:/home/hzy# sudo service docker startJob for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

使用命令查看

root@hzy-pc:/home/hzy# systemctl status docker.service● docker.service - Docker Application Container Engine   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e   Active: failed (Result: exit-code) since 一 2017-03-20 20:04:05 CST; 34s ago     Docs: https://docs.docker.com  Process: 12430 ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS (code=exited,  Main PID: 12430 (code=exited, status=1/FAILURE)320 20:04:05 hzy-pc systemd[1]: Starting Docker Application Container Engine..320 20:04:05 hzy-pc dockerd[12430]: time="2017-03-20T20:04:05+08:00" level=fat320 20:04:05 hzy-pc systemd[1]: docker.service: Main process exited, code=exit320 20:04:05 hzy-pc systemd[1]: Failed to start Docker Application Container E320 20:04:05 hzy-pc systemd[1]: docker.service: Unit entered failed state.320 20:04:05 hzy-pc systemd[1]: docker.service: Failed with result 'exit-code'

网上方法都试过了,很无语,,,,

俩月后来更新,这个好像当时智障给国内docker仓库镜像写错了有关
daocloud那个,感觉不太好用?ustc的挺不错的

0 0
原创粉丝点击