build all container can access volumes
docker run --name=storedata -v /data/bigdata:/data busybox true
run container
docker run --volumes-from storedata -it hadoop-master /bin/zsh
docker run --name=storedata -v /data/bigdata:/data busybox true
docker run --volumes-from storedata -it hadoop-master /bin/zsh
本文标题:docker data share
本文链接:https://www.haomeiwen.com/subject/ayzoaxtx.html
网友评论