This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
docker compose panics with volume override #1261
Labels
bug: crash 💥
App crashes and is unusable in a significant way.
Description
When generating compose files for local, and cloud, deployments, different volume drivers need to be specified for the different cloud contexts. Using multiple --file directives to merge compose files seems a convenient way to support this scenario, however this causes
docker compose up
to throw a panic trying to merge the volume sections.Steps to reproduce the issue:
docker-compose.yml
docker-compose.azure.yml
docker --context azure compose up --file docker-compose.yml --file docker.compose.azure.yml
whereazure
is the name of your azure context.Describe the results you received:
Describe the results you expected:
The compose files to deploy successfully.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker context show
:You can also run
docker context inspect context-name
to give us more details but don't forget to remove sensitive content.Output of
docker info
:Additional environment details (AWS ECS, Azure ACI, local, etc.):
Docker Desktop 3.1.0 (51484)
Azure ACI
The text was updated successfully, but these errors were encountered: