docker-machine version 0.8.2, build e18a919
host machine: Debian Jessie 8.4
command used: docker-machine create -d generic --generic-ip-address=x.x.x.x --generic-ssh-key ~/.ssh/id_rsa node-1
This results in Error starting daemon: error initializing graphdriver: driver not supported
and docker-machine failing.
hmm... odd... jessie should support the AUFS patch just fine...
can you post the full docker-machine --debug
output?
I had the same kind of trouble last year when I tried to do the same, but I gave it another try this week and I was able to make it work.
docker-machine version 0.8.2
Jessie 8.6 kernel 3.16 => straightforward setup
Jessie 8.6 kernel 4.8.11 from backports => need to add --engine-storage-driver overlay otherwise aufs is used and it's not supported in recent kernels
I don't know if something change since last year but I was not able to make it work, so give it another try !
Yes I was able to make it work too, by specifying --engine-storage-driver
overlay, but I t hink that should be detected and automated in some way.
Currently it works with some cloud providers and not with others.
On Fri, Jan 6, 2017 at 7:31 AM, ldumont notifications@github.com wrote:
I had the same kind of trouble last year when I tried to do the same, but
I gave it another try this week and I was able to make it work.docker-machine version 0.8.2
Jessie 8.6 kernel 3.16 => straightforward setup
Jessie 8.6 kernel 4.8.11 from backports => need to add
--engine-storage-driver overlay otherwise aufs is used and it's not
supported in recent kernelsI don't know if something change since last year but I was not able to
make it work, so give it another try !—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/machine/issues/3895#issuecomment-270841446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADBXxQAgxECPM2FEWDnK1NR39dI48VGnks5rPd-lgaJpZM4K9MkI
.
Related #4016 #4156
Creating machines on Google Cloud platform currently fails due to this.
Is it somehow possible to manually set something else?
Machine creates one with aufs
, which is the platform default
/etc/systemd/system/docker.service.d/10-machine.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -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 /etc/docker/server-key.pem --label provider=generic
Environment=
Edit:
Executing
sed -i "s@--storage-driver aufs@--storage-driver overlay2@g" /etc/systemd/system/docker.service.d/10-machine.conf
several times on the host, while docker-machine
displays
Setting Docker configuration on the remote daemon...
seems to solve it.
Most helpful comment
Creating machines on Google Cloud platform currently fails due to this.