Compose: Docs: volumes_from has no direct replacement in v3

Created on 25 Jun 2017  路  1Comment  路  Source: docker/compose

From https://docs.docker.com/compose/compose-file/#volumes:

Note: The top-level volumes option defines a named volume and references it from each service鈥檚 volumes list. This replaces volumes_from in earlier versions of the Compose file format.

This is not true, named volumes are not a replacement of volumes_from in v2. Maybe some subset of use cases but it's there are scenarios which v3 does not support and it would be good to be upfront about it in the docs.

Examples: https://github.com/docker/compose/issues/4675, https://stackoverflow.com/a/44744861/21728.

kindocs

>All comments

Thank you! Please report docs issues on the docs repo

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AvdN picture AvdN  路  3Comments

dazorni picture dazorni  路  3Comments

saulshanabrook picture saulshanabrook  路  3Comments

davidbarratt picture davidbarratt  路  3Comments

29e7e280-0d1c-4bba-98fe-f7cd3ca7500a picture 29e7e280-0d1c-4bba-98fe-f7cd3ca7500a  路  3Comments