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 | |
|---|---|---|---|---|
| Original system ipaddress | 1 | 518 | July 22, 2022 | |
| Set ENV variable in container is not working: value is not being overwritten | 3 | 9181 | September 25, 2016 | |
| Conditionally set ENV var based on hostname | 0 | 1966 | April 14, 2017 | |
| Consume machine environment variables during build from dockerfile | 1 | 596 | December 3, 2019 | |
| Dynamic enviromental variable in docker-compose | 0 | 2067 | September 14, 2015 |