I want to create a data-volume container which will be mounted by another container. According to the docker docs I can use docker create to create a container and mount it’s volumes, however since I manage all my containers with docker-compose (1.5.2, old style configurations) I want to manage this container with docker-compose as well.
Is there a way to perform this with docker-compose?