diff --git a/docs/resources/container.md b/docs/resources/container.md index 7f604930..ddfdc259 100644 --- a/docs/resources/container.md +++ b/docs/resources/container.md @@ -99,7 +99,7 @@ resource "docker_image" "ubuntu" { - **gateway** (String, Deprecated) The network gateway of the container. - **ip_address** (String, Deprecated) The IP address of the container. - **ip_prefix_length** (Number, Deprecated) The IP prefix length of the container. -- **network_data** (List of Object) The data of the networks the container is connected to (see [below for nested schema](#nestedatt--network_data)) +- **network_data** (Block List) The data of the networks the container is connected to (see [below for nested schema](#nestedblock--network_data)) ### Nested Schema for `capabilities` @@ -276,18 +276,18 @@ Optional: - **volume_name** (String) The name of the docker volume which should be mounted. - + ### Nested Schema for `network_data` Read-Only: -- **gateway** (String) -- **global_ipv6_address** (String) -- **global_ipv6_prefix_length** (Number) -- **ip_address** (String) -- **ip_prefix_length** (Number) -- **ipv6_gateway** (String) -- **network_name** (String) +- **gateway** (String, Deprecated) The network gateway of the container. +- **global_ipv6_address** (String) The IPV6 address of the container +- **global_ipv6_prefix_length** (Number) The IPV6 prefix length address of the container +- **ip_address** (String, Deprecated) The IP address of the container. +- **ip_prefix_length** (Number, Deprecated) The IP prefix length of the container. +- **ipv6_gateway** (String) The IPV6 gateway of the container +- **network_name** (String) The name of the network ## Import diff --git a/internal/provider/resource_docker_container.go b/internal/provider/resource_docker_container.go index 55c0f0e3..0d7b54f3 100644 --- a/internal/provider/resource_docker_container.go +++ b/internal/provider/resource_docker_container.go @@ -574,7 +574,6 @@ func resourceDockerContainer() *schema.Resource { "network_data": { Type: schema.TypeList, Description: "The data of the networks the container is connected to", - Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "network_name": {