terraform-provider-docker/testdata/resources/docker_network/testAccDockerNetworkConfigFull.tf
Martin ca8f7b8a0d
Fix: calculation of Dockerfile path in docker_image build (#853)
* fix: Update dockerfile and context handling

* chore: Update documentation

* fix: Golangci lint error in testing code

* fix: formatting

* chore: Fix failing tests due to docker 29

* chore: Use 28.5.1 docker engine for tests

* fix: Improve docker swarm handling for tests

* fix: Use outputs from setup-docker step to set DOCKER_HOST env

* chore: Revert legacy docker build changes and switch to docker engine 28.0.4

* chore: Improve tests so that they do not fail

* fix: Revert maxfailureratio cange in docker service test
2026-02-20 17:33:27 +01:00

20 lines
292 B
HCL

resource "docker_network" "foo" {
name = "bar"
driver = "bridge"
internal = true
ipam_config {
subnet = "10.0.1.0/24"
}
labels {
label = "com.docker.compose.network"
value = "foo"
}
labels {
label = "com.docker.compose.project"
value = "test"
}
}