Virtualbox problems with Linux

I have a problem with creating virtual machine with docker-machine and virtualbox.

When I am running

docker-machine create --driver virtualbox newvm

command, I am getting the following error .

Running pre-create checks...

Error with pre-create check: "We support Virtualbox starting with version 5. Your VirtualBox install is \"WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (4.10.0-42-generic) or it failed to\n
load. Please recompile the kernel module and install it by\n\n
sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n5.2.4r119785\". Please upgrade at"

I have installed latest version of virtual box which error brings, but after running command it brings the same problem.I cant find the reason of this error

How can I solve this problem ?