Skip to content

Conversation

@sd109
Copy link

@sd109 sd109 commented Jan 6, 2026

Fixes issue where network with multiple subnets had all subnets mashed together into a single string which breaks the for SUBNET in $SUBNETS loop.

Before:

docker network inspect --format '{{range .IPAM.Config}}{{.Subnet}}{{end}}' kind
 fc00:f853:ccd:e793::/64172.18.0.0/16

After:

docker network inspect --format '{{range .IPAM.Config}} {{.Subnet}}{{end}}' kind
 fc00:f853:ccd:e793::/64 172.18.0.0/16

Fixes issue where network with multiple subnets had all subnets mashed together into a single string which breaks the `for SUBNET in $SUBNETS` loop.

Before:
```
docker network inspect --format '{{range .IPAM.Config}}{{.Subnet}}{{end}}' kind
 fc00:f853:ccd:e793::/64172.18.0.0/16
```

After:
```
docker network inspect --format '{{range .IPAM.Config}} {{.Subnet}}{{end}}' kind
 fc00:f853:ccd:e793::/64 172.18.0.0/16
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant