mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-05-13 17:59:05 -04:00
* 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
20 lines
292 B
HCL
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"
|
|
}
|
|
}
|