mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
Add ContainerSpec.linkLocalIps and ContainerBuilder.withLinkLocalIp so a container can be given link-local IPv4 addresses on its Docker network endpoint. docker-java does not expose NetworkingConfig on create, so the endpoint is reconnected with LinkLocalIPs while the container is still in the created state, before it starts. A failed attach removes the container. Taken from #2987, adapted to the current ContainerSpec and create flow. Co-authored-by: jkvw-del <j.kvw@mejortechnologies.com>