Open gagern opened 9 years ago
:+1:, I will try
It will be more difficult than expected, because we use the script https://get.docker.com which assume to be ran as root, I will try to play with mount in uml to fake an environment with sudo even without sudo in the .travis.yml file
It might make sense to look at boot2docker and see how they do things, since they end up with a minimalistic Linux (emulated and not UML, but perhaps that's similar enough) containing a working Docker setup. Apart from that, fakeroot
and fakechroot
might be of some use, although I'm kind of disappointed by these since my recent experiments.
It would be nice if travis-docker could be made to run with user permissions only, so that it could avoid relying on
sudo
and therefore be used on the new Travis infrastructure.