Closed
Description
Proposed syntax:
volumes:
data:
name: something
driver: drivername
This will fix a bunch of issues:
- docker stack deploy failed if volume name with special character like "@" used in the compose file moby/moby#33529
- Docker Compose Variable substitution - can't use a variable in a yaml/compose key moby/moby#33540
- templated volume name syntax not supported in compose v3 format? moby/moby#30770
Probably others I haven't found yet.
We should also deprecate external: name: foo
(external: bool
would remain undeprecated).
cc @shin- What do you think?
Also, should we go ahead and do this with secrets, configs and networks as well, to keep them consistent?