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.

1 Like


I have solved this problem over Ubuntu 20.04 redirecting trafic to IP: You can do it by using iptables and these commands:
sysctl -w net.ipv4.conf.all.route_localnet=1
iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to

All requests to the server reaching personal IP are routed to Also, you must edit Storefront domain and include your URL domain or IP.