extraHosts

@JvmName(name = "whojvfhdxorpulob")
suspend fun extraHosts(value: Output<List<HostEntryArgs>>)
@JvmName(name = "hoosbxtmthekwjby")
suspend fun extraHosts(value: List<HostEntryArgs>?)

Parameters

value

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. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.


@JvmName(name = "dphgxfaaclbpdyxc")
suspend fun extraHosts(vararg values: Output<HostEntryArgs>)


@JvmName(name = "wblywmrhadqctbvq")
suspend fun extraHosts(values: List<Output<HostEntryArgs>>)
@JvmName(name = "yjjwddsqseygqwvf")
suspend fun extraHosts(vararg values: HostEntryArgs)

Parameters

values

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. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.


@JvmName(name = "kqxluywglskrthgl")
suspend fun extraHosts(argument: List<suspend HostEntryArgsBuilder.() -> Unit>)
@JvmName(name = "qxvupqcxxvdfmlwg")
suspend fun extraHosts(vararg argument: suspend HostEntryArgsBuilder.() -> Unit)
@JvmName(name = "xbgjswyseuyrhfhl")
suspend fun extraHosts(argument: suspend HostEntryArgsBuilder.() -> Unit)

Parameters

argument

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. This parameter isn't supported for Windows containers or tasks that use the `awsvpc` network mode.