Docker installation help

Hi there, I’m looking for help after having following the academy tutorials - I’ve installed shopware using Docker, and part of a project sees that I need to access the shopware webpage from a 2nd VM - on the same network.

The network connection is, both VMs can ping each other etc.

Shopware installed fine, however I can only access the page from localhost:8000

Because I’m new with shopware and Docker, I’m struggling as to how I can give the Docker container either the same address as its host, or a new ip address, either way I need to be able to call the Shopware page from the other VM.

Can anybody help with this?

Thanks in advance.