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 | |
---|---|---|---|---|
Set ENV variable in container is not working: value is not being overwritten | 3 | 9137 | September 25, 2016 | |
Conditionally set ENV var based on hostname | 0 | 1960 | April 14, 2017 | |
ENV to support build-time values in Dockerfile | 3 | 3263 | December 24, 2014 | |
Dynamic enviromental variable in docker-compose | 0 | 2018 | September 14, 2015 | |
Consume machine environment variables during build from dockerfile | 1 | 588 | December 3, 2019 |