moul / travis-docker

:whale::man: Docker in Travis-CI
https://manfred.life/travis-docker
MIT License
106 stars 22 forks source link

devicemapper dosn't work with docker 1.7 #25

Closed orius123 closed 9 years ago

orius123 commented 9 years ago

Hi,

Tried to use host FS with devicemapper on my project (cloudslang), and got this error:

ERRO[0000] Udev sync is not supported. This will lead to unexpected behavior, data loss and errors. For more information, see https://docs.docker.com/reference/commandline/cli/#daemon-storage-driver-option

FATA[0000] Error starting daemon: error initializing graphdriver: driver not supported 

So, I forked your travis-docker-example so I will be able to re-run it (with current docker version) and devicemapper stopped working giving this same error.

looking around it seems that the problem is introduced in docker 1.7.0: (Quote from https://github.com/docker/docker/issues/14035 thread)

If your docker binary is statically compiled, it is unsupported and prevented from launching (by default) in 1.7.0. Prior versions have displayed warnings, that they ignored.

seems like you need to build it locally in order to make it work if I get it right but I'm not really a FS guy..

orius123 commented 9 years ago

seems like they 'fixed' it in 1.7.1 now it just throws error and doesn't stop the docker deamon from starting up. closing