I had a macvlan container that required manually running udhcpc inside the container after each startup to obtain a dynamic IP from DHCP.
To make things easier, I added supervisord to automatically run udhcpc -f and the container’s own program on startup. After this change, I noticed the container would lose network connectivity after running for a while. Checking the logs, I found that udhcpc would obtain an IP when starting, renew once, and then there were no more renew records.