testcontainers-0.4.0.0: Docker containers for your integration tests.
Safe HaskellSafe-Inferred
LanguageHaskell2010

TestContainers.Docker.Network

Synopsis

Network

type NetworkId = Text Source #

Identifies a network within the Docker runtime. Assigned by docker network create

Since: 0.4.0.0

data Network Source #

Handle to a Docker network.

Since: 0.4.0.0

networkId :: Network -> NetworkId Source #

Returns the id of the network.

Since: 0.4.0.0

Creating networks

data NetworkRequest Source #

Parameters for creating a new Docker network.

Since: 0.4.0.0

networkRequest :: NetworkRequest Source #

Default parameters for creating a new Docker network.

Since: 0.4.0.0

withDriver :: Text -> NetworkRequest -> NetworkRequest Source #

Driver to manage the Network (default "bridge").

Since: 0.4.0.0

withIpv6 :: NetworkRequest -> NetworkRequest Source #

Enable IPv6 for the Docker network.

Since: 0.4.0.0