When an image declares a volume such as `/var/lib/mysql`, and a Compose file has a line like `./data:/var/lib/mysql/` (note the trailing slash), Compose creates duplicate volume binds when *recreating* the container. (The first container is created without a hitch, but contains multiple entries in its "Volumes" config.) Fixed by normalizing all paths in volumes config. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cli_test.py | ||
| legacy_test.py | ||
| project_test.py | ||
| resilience_test.py | ||
| service_test.py | ||
| state_test.py | ||
| testcases.py | ||