Unable to start Docker Service in Ubuntu 16.04

后端 未结 10 1134
悲哀的现实
悲哀的现实 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条回答
  •  旧时难觅i
    2020-12-12 17:35

    I had a similar issue on a new Docker installation (version 19.03.3-rc1) on Ubuntu 18.04.3 LTS. By default /etc/docker/daemon.json file does not exist on a new installation. Following a tutorial I changed the storage driver to devicemapper by creating a new daemon.json file. It worked but then I deleted the daemon.json file thinking that it would revert to the default but that did not work and the service would not start.

    Creating the /etc/docker/daemon.json file again with the default storage driver fixed it for me.

    {
        "storage-driver": "overlay2"
    }
    

提交回复
热议问题