Skip to content

Files

Latest commit

239853c · Apr 16, 2025

History

History

docker_network

README.md

Providers

Name Version
portainer n/a

Resources

Name Type
portainer_docker_network.test_bridge resource

Inputs

Name Description Type Default Required
endpoint_id ID of the environment where the network will be created number n/a yes
network_attachable Whether containers can be attached manually bool false no
network_config_from Name of another config-only network to inherit from string "" no
network_config_only If this network is only configuration bool false no
network_driver Network driver (bridge, overlay, macvlan, etc.) string "bridge" no
network_enable_ipv4 Enable IPv4 networking bool true no
network_enable_ipv6 Enable IPv6 networking bool false no
network_ingress Whether it's an ingress network bool false no
network_internal Whether the network is internal bool false no
network_labels Labels to apply to the network map(string)
{
"env": "test",
"purpose": "terraform"
}
no
network_name Name of the Docker network string n/a yes
network_options Driver-specific options map(string)
{
"com.docker.network.bridge.enable_icc": "true",
"com.docker.network.bridge.enable_ip_masquerade": "true"
}
no
portainer_api_key Default Portainer Admin API Key string n/a yes
portainer_url Default Portainer URL string n/a yes