Docker Container Get IP Address from host interfaces

Pass them as environment variables to the container.

root@manager:~# hostname -I
10.0.2.15 172.28.128.3 172.17.0.1 172.18.0.1

You may want/need to be more selective on what IP addresses you actually pass.

root@manager:~# docker container run -it --env "MY_IPS=$(hostname -I)" alpine:latest sh
/ # echo $MY_IPS
10.0.2.15 172.28.128.3 172.17.0.1 172.18.0.1
/ #