Is there any way to read and set host ip in environment variable at build time? I mean any command/statement that can do this natively in docker file? I am using Windows container.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Conditionally set ENV var based on hostname | 0 | 1959 | April 14, 2017 | |
How to build the docker image with customized IP in /etc/hosts file | 4 | 116502 | July 30, 2019 | |
Permanent `--add-host` rules | 0 | 455 | May 27, 2020 | |
Static ip-address for docker0 | 0 | 709 | June 17, 2018 | |
Dynamic enviromental variable in docker-compose | 0 | 2012 | September 14, 2015 |