You are not logged in.
Hello there,
I'm not sure if I'm posting this topic on the right forum or now,
Anyway, I just started to learn docker and seems like I have to use docker-machine command
I installed docker and docker-machine packages using pacman, enabled and started the docker service
ran this command:
docker-machine create -d virtualbox node1and here is the output
Running pre-create checks...
Creating machine...
(node1) Copying /home/alireza/.docker/machine/cache/boot2docker.iso to /home/alireza/.docker/machine/machines/node1/boot2docker.iso...
(node1) Creating VirtualBox VM...
(node1) Creating SSH key...
(node1) Starting the VM...
(node1) Check network to re-create if needed...
Error creating machine: Error in driver during machine creation: Unable to start the VM: /bin/VBoxManage startvm node1 --type headless failed:
VBoxManage: error: The virtual machine 'node1' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachineEven tried running the command using `sudo` but the same result
Btw I got this packages installed already:
virtualbox 6.0.2-1
virtualbox-guest-modules-arch 6.0.0-4
virtualbox-host-modules-arch 6.0.0-4
docker 1:18.09.1-1
docker-machine 0.16.1-1What can cause the problem?
Sry If I posted in the wrong forum
-- New Update
When I open virtualbox and I try to open the machine I created it gives me this message:
RTR3InitEx failed with rc=-1912 (rc=-1912)
The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing
'/sbin/vboxconfig'
may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.
where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.So I guess it's happening cause I'm using linux and not linux-lts kernel
Last edited by DarkSun (2019-01-16 10:20:44)
Offline
Sovled, Nothing was wrong with docker or my kernel version, I just had to install `virtulbox-sdk`
Offline