Creating group ‘vboxusers’. VM users must be member of that group!
No precompiled module for this kernel found – trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Stopping VirtualBox kernel modules [ OK ]
Recompiling VirtualBox kernel modules [ OK ]
Starting VirtualBox kernel modules [ OK ]
[root@nc9042035055 /]# docker-machine create --driver virtualbox dev
INFO[0000] Creating CA: /root/.docker/machine/certs/ca.pem
INFO[0001] Creating client certificate: /root/.docker/machine/certs/cert.pem
INFO[0003] Downloading boot2docker.iso to /root/.docker/machine/cache/boot2docker.iso…
INFO[0021] Creating SSH key…
INFO[0021] Creating VirtualBox VM…
INFO[0070] Starting VirtualBox VM…
ERRO[0070] Error creating machine: exit status 1
WARN[0070] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0070] Error creating machine
I had this error too,and I use sudo fix it.
usage:
sudo docker-machine create --driver virtualbox dev
===========================================
shizhizhu@shizhi:~$ docker-machine create --driver virtualbox dev
INFO[0005] Creating SSH key…
INFO[0006] Creating VirtualBox VM…
ERRO[0032] Error creating machine: exit status 1
WARN[0032] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0032] Error creating machine
shizhizhu@shizhi:~$ docker-machine rm dev
INFO[0000] machine does not exist, assuming it has been removed already
shizhizhu@shizhi:~$ sudo docker-machine create --driver virtualbox dev
WARN[0005] Unable to check for the latest release: Get https://api.github.com/repos/boot2docker/boot2docker/releases: dial tcp: i/o timeout
INFO[0005] Creating SSH key…
INFO[0005] Creating VirtualBox VM…
INFO[0033] Starting VirtualBox VM…
INFO[0034] Waiting for VM to start…
INFO[0071] “dev” has been created and is now the active machine.
INFO[0071] To point your Docker client at it, run this in your shell: $(docker-machine env dev)
I am logged in as root, but even with sudo it fails…
[root@nc9042035055 ~]# sudo docker-machine create --driver virtualbox dev
INFO[0000] Creating SSH key…
INFO[0000] Creating VirtualBox VM…
INFO[0048] Starting VirtualBox VM…
ERRO[0049] Error creating machine: exit status 1
WARN[0049] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0049] Error creating machine