Skip to content

Support for multiple compose configs #206

Closed
@clangaxon

Description

@clangaxon

Trying to upgrade from the old 5.3 pre-fork version to 1.1.0, we're running into the inability to have multiple docker-compose resources on a single box. In the old version, we hacked around --remove-orphans with options = ['-f', 'second.yml']. In this version, options is now a string and a string with a space doesn't seem to work:

Error: Execution of '/usr/local/bin/docker-compose -f /etc/docker/first.yml -f /etc/docker/second.yml up -d --remove-orphans' returned 1: .IOError: [Errno 2] No such file or directory: u'./ /etc/docker/first.yml'

27240 execve("/usr/local/bin/docker-compose-1.9.0", ["/usr/local/bin/docker-compose", "-f", "/etc/docker/first.yml", "-f /etc/docker/second.yml", "up", "-d", "--remove-orphans"], [/* 27 vars */] <unfinished ...>

Are we missing something? :)

Thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions