mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-11 14:53:09 -05:00
1.4 KiB
1.4 KiB
| page_title | subcategory | description |
|---|---|---|
| docker_network Data Source - terraform-provider-docker | docker_network provides details about a specific Docker Network. |
docker_network (Data Source)
docker_network provides details about a specific Docker Network.
Example Usage
data "docker_network" "main" {
name = "main"
}
Schema
Optional
- id (String) The ID of this resource.
- name (String) The name of the Docker network.
Read-Only
- driver (String) The driver of the Docker network. Possible values are
bridge,host,overlay,macvlan. See network docs for more details. - internal (Boolean) Whether the network is internal.
- ipam_config (Set of Object) IPAM configuration options (see below for nested schema)
- options (Map of String) Only available with bridge networks. See bridge options docs for more details.
- scope (String) Scope of the network. One of
swarm,global, orlocal.
Nested Schema for ipam_config
Read-Only:
- aux_address (Map of String)
- gateway (String)
- ip_range (String)
- subnet (String)