Using volumes from other containers

Commands

docker container run --name c1 --rm --volume /data -it alpine:latest
docker container run --volumes-from c1 -it --rm alpine:latest

Simultaneous access

Prepopulating volumes