docker / app

Make your Docker Compose applications reusable, and share them on Docker Hub
Apache License 2.0
1.57k stars 177 forks source link

[Enhancement Request] Allow overriding the image name variable restriction for render and inspect #530

Closed jhrabi closed 5 years ago

jhrabi commented 5 years ago

Starting in v0.8.0-beta1, the following restriction has been added:

Image names and tags can no longer be templated

Obviously this now results in seeing something similar to this when trying to use my current dockerapp files:

vote: variables are not allowed in the service's image field. Found: '${VOTING_IMAGE}/examplevotingapp_vote'

My understanding from some discussion at DockerCon is that this was specifically added to support CNAB requirements for recreatable deployments for images. This has caused a breaking change for me where we had parameters used to allow identical configurations to be used for different versions of similar images, thus allowing us not to have to generate multiple configurations.

I understand that if there are CNAB requirements that this decision is likely not going to be reversed. However, for my specific requirement, an override of some type (even an experimental feature) to allow this restriction to be overridden for a render or inspect would help overcome this.

ijc commented 5 years ago

Thanks for the suggestion. I think this is a duplicate of #508 where possible solutions to this requirement are being discussed.