mirror of
https://github.com/docker/compose.git
synced 2026-07-10 10:14:13 +00:00
service: Use OrderedDict to preserve volumes order on versions prior 3.6.
Signed-off-by: Antony MECHIN <antony.mechin@docker.com>
This commit is contained in:
parent
39b0518850
commit
bf46a6cc60
1 changed files with 1 additions and 1 deletions
|
|
@ -1429,7 +1429,7 @@ def merge_volume_bindings(volumes, tmpfs, previous_container, mounts):
|
|||
"""
|
||||
affinity = {}
|
||||
|
||||
volume_bindings = dict(
|
||||
volume_bindings = OrderedDict(
|
||||
build_volume_binding(volume)
|
||||
for volume in volumes
|
||||
if volume.external
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue