'Publish/Expose ip of qemu running inside docker container

I am running an application on QEMU which is running inside a docker container. The target ip is used to access the application:

target_ip=IPv4Address('192.168.32.20')

With docker compose, I would like to access the application on Host as well as on other containers running on the network.

Is there a way I can map the ip?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source