In order to expose a container outside of the host, you need to setup the NATing table on the VM. Here is an example of some mappings
Navigating to NAT table on Virtual Box
Select Network
Expand the Advanced button
Select Port Forwarding
You can now do your settings