DockerCLI/cli/compose
Rob Murray 1cddb2b03d
docker stack: allow '=' separator in extra_hosts
extra_hosts in the compose file format allows '=' as a separator, and brackets
around IP addresses, the engine API doesn't.

So, transform the values when reading a compose file for 'docker stack'.

Signed-off-by: Rob Murray <rob.murray@docker.com>
(cherry picked from commit c986d09bca)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-04 11:55:30 +01:00
..
convert Plumb contexts through commands 2023-12-12 22:30:16 +01:00
interpolation add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
loader docker stack: allow '=' separator in extra_hosts 2024-03-04 11:55:30 +01:00
schema add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
template add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00
types add //go:build directives to prevent downgrading to go1.16 language 2023-12-14 15:03:46 +01:00