where is the file with the current ip (eth0) stored in ubutnu (the file where ifconfig takes the information)? I need to upload it to docker, because I would like to know the current address always. I use docker on alpine:3.18.
I’ve already looked:
/etc/network/interfaces
/etc/netplan/*.yaml
/etc/systemd/network/*.network
but I didn’t find it