FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

docker_network

Manages a Docker Network. This can be used alongside docker_container to create virtual networks within the docker environment.

Example Usage

# Find the latest Ubuntu precise image.
resource "docker_network" "private_network" {
    name = "my_network"
}

# Access it somewhere else with ${docker_network.private_network.name}

Argument Reference

The following arguments are supported:

IPAM config

Configuration of the custom IP scheme of the network.

The ipam_config block supports:

Attributes Reference

The following attributes are exported in addition to the above configuration:


See the source of this document at Terraform.io