Unable to start Docker Service in Ubuntu 16.04

后端 未结 10 1133
悲哀的现实
悲哀的现实 2020-12-12 17:05

I\'ve been trying to use Docker (1.10) on Ubuntu 16.04 but installation fails because Docker Service doesn\'t start. I\'ve already tried to

10条回答
  •  自闭症患者
    2020-12-12 17:36

    As to me, I have get this error.

    Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

    Finally I found, it the /etc/docker/daemon.json error, for I add registry-mirrors

    {
        "runtimes": {
    
            "nvidia": {
                "path": "/usr/bin/nvidia-container-runtime",
                "runtimeArgs": []
            }
        }    
    
        # I forget to add a comma , here !!!!!!!
        "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"]
    }
    

    After I add it , then systemctl restart docker, I solved it.

提交回复
热议问题