Does manually running dhclient against eth0 in the container work?
Looks like cloud-init is a bit unhappy about your provided network-config, which likely causes the netplan config to be skipped which in turns leads to no networkd config and so no ipv4 config in the container.
Does manually running dhclient against eth0 in the container work?
Looks like cloud-init is a bit unhappy about your provided network-config, which likely causes the netplan config to be skipped which in turns leads to no networkd config and so no ipv4 config in the container.