How to network a VirtualBox virtual machine with a docker container?

In order to join the docker container to the same network as the VirtualBox virtual machine, the virtual machine of the docker container needs to be created on the same network. The VirtualBox Host-Only Network runs on the network. When creating the default Docker virtual machine ensure that the VirtualBox Host Only CIDR is

Aqra iktar