display interpolation variables and their values when running a remote stack by glours · Pull Request #12604 · docker/compose (original) (raw)

What I did
Display a message showing the interpolation variables and their values before running a OCI or GIT Compose stack

$ docker compose -e REGISTRY=myregistry.com up

Found the following variables in configuration:
VARIABLE     VALUE                SOURCE        REQUIRED    DEFAULT
REGISTRY     myregistry.com      command-line  yes         
TAG          v1.0                environment    no          latest
DOCKERFILE   Dockerfile          default        no          Dockerfile
API_KEY      <unset>            none           no          

Do you want to proceed with these variables? [Y/n]:

Related issue
https://docker.atlassian.net/browse/APCLI-874

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image