Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

DigitalOcean driver stopped working: graphdriver: driver not supported #4016

Closed
NodeGuy opened this issue Mar 4, 2017 · 3 comments
Closed

Comments

@NodeGuy
Copy link

NodeGuy commented Mar 4, 2017

I'm not doing anything fancy. This has been working forever on my CI machine and just started failing. I upgraded from 0.8.1 to 0.10.0 but that didn't fix it. It looks like the error is Error starting daemon: error initializing graphdriver: driver not supported (see below).

$ docker-machine --version
docker-machine version 0.10.0, build 76ed2a6
$ docker-machine create --driver digitalocean default
Creating CA: /home/ubuntu/.docker/machine/certs/ca.pem
Creating client certificate: /home/ubuntu/.docker/machine/certs/cert.pem
Running pre-create checks...
Creating machine...
(default) Creating SSH key...
(default) Creating Digital Ocean droplet...
(default) Waiting for IP address to be assigned to the Droplet...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Error creating machine: Error running provisioning: ssh command error:
command : sudo systemctl -f start docker
err     : exit status 1
output  : Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.


docker-machine create --driver digitalocean default returned exit code 1

$ docker-machine ssh default
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-65-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

4 packages can be updated.
0 updates are security updates.


root@default:~# systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/docker.service.d
           └─10-machine.conf
   Active: failed (Result: exit-code) since Sat 2017-03-04 00:20:38 UTC; 1min 57s ago
     Docs: https://docs.docker.com
  Process: 5509 ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --storage-driver aufs --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey
 Main PID: 5509 (code=exited, status=1/FAILURE)

Mar 04 00:20:36 default systemd[1]: Starting Docker Application Container Engine...
Mar 04 00:20:36 default docker[5509]: Command "daemon" is deprecated, and will be removed in Docker 1.16. Please run `dockerd` directly.
Mar 04 00:20:36 default docker[5509]: time="2017-03-04T00:20:36.991643641Z" level=info msg="libcontainerd: new containerd process, pid: 5518"
Mar 04 00:20:38 default docker[5509]: Error starting daemon: error initializing graphdriver: driver not supported
Mar 04 00:20:38 default systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Mar 04 00:20:38 default systemd[1]: Failed to start Docker Application Container Engine.
Mar 04 00:20:38 default systemd[1]: docker.service: Unit entered failed state.
Mar 04 00:20:38 default systemd[1]: docker.service: Failed with result 'exit-code'.
root@default:~# 
@NodeGuy NodeGuy changed the title DigitalOcean driver failing to create machine: graphdriver: driver not supported DigitalOcean driver stopped working: graphdriver: driver not supported Mar 5, 2017
@nathanleclaire
Copy link
Contributor

this seems fixed now (I'm assuming by mirror update)

@jeffomatic
Copy link

jeffomatic commented Jun 30, 2017

FWIW, we're still noticing this on with Docker Machine 0.12.0.

EDIT: we were able to resolve via the following: #4156 (comment)

@dminkovsky
Copy link

Same, and #4156 was closed but this still is broken.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants