Haven\'t found an answer anywhere... I created a VM (boot2docker) using docker-machine. I need to edit some files using root.
What is the root password in boot2docker?>
just type
$ docker-machine ssh your_environment
and then to be root
$ sudo -i
hope it helps