mirror of
https://github.com/docker/compose.git
synced 2025-09-01 23:18:16 +02:00
Named volumes will not be removed. This is consistent with the behavior of docker run --rm. Fixes #2419, #3611 Signed-off-by: Nikola Kovacs <nikola.kovacs@gmail.com>
12 lines
172 B
YAML
12 lines
172 B
YAML
version: '2'
|
|
services:
|
|
test:
|
|
image: busybox
|
|
command: top
|
|
volumes:
|
|
- /container-path
|
|
- testvolume:/container-named-path
|
|
|
|
volumes:
|
|
testvolume: {}
|