extraHosts property

List<String> extraHosts
final

More entries of the container's hosts file, as host:address (host.docker.internal:host-gateway for the machine itself on Linux).

Implementation

final List<String> extraHosts;