Apart from publishing the port from docker as mentioned by @Van0SS you need to create a port forwarding rule as well.Open virtualbox and Navigate to VM -> Settings -> Network -> Advanced -> Port forwardingCreate a new rule:
Name : <Anything - Purpose of port>Protocol: TCPHostIP: 127.0.0.1Host port: 7000Guest Port: 7000