### Problem description Docs don't specify that the mandatory variable syntax, `${MYVAR:?}` [doesn't work for `docker stack` until docker version 18.04](https://github.com/docker/cli/pull/893). ### Problem location https://docs.docker.com/compose/compose-file/#variable-substitution ### Suggestions for a fix Add a note. ---- # References: * https://github.com/docker/compose/issues/5683
Problem description
Docs don't specify that the mandatory variable syntax,
${MYVAR:?}doesn't work fordocker stackuntil docker version 18.04.Problem location
https://docs.docker.com/compose/compose-file/#variable-substitution
Suggestions for a fix
Add a note.
References: