Skip to content

Mandatory variable syntax in docker-compose.yml is strictly docker 18.04+ #6732

Description

@jamiejackson

Problem description

Docs don't specify that the mandatory variable syntax, ${MYVAR:?} doesn't work for docker stack until docker version 18.04.

Problem location

https://docs.docker.com/compose/compose-file/#variable-substitution

Suggestions for a fix

Add a note.


References:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/composeRelates to docker-compose.yml spec or docker-compose binarylifecycle/locked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions