extraHosts property
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. This parameter maps to
ExtraHosts in the Create
a container section of the Docker Remote API and
the --add-host option to docker
run.
Implementation
final List<HostEntry>? extraHosts;