docker rm -f minio-s0 minio-s1 minio-s2 minio-s3 minio-s4
docker run \
-d \
-p 9990:9090 \
-p 9995:9000 \
--network demo-using \
--ip 172.18.0.90 \
--name minio-s0 \
-e "MINIO_ROOT_USER=demo" \
-e "MINIO_ROOT_PASSWORD=minio@demo" \
-v /media/sdb1/dev/demo/minio/s0:/data \
quay.io/minio/minio server http://minio-s{0...4}/data --console-address ":9090"
docker run \
-d \
-p 9991:9090 \
-p 9996:9000 \
--network demo-using \
--ip 172.18.0.91 \
--name minio-s1 \
-e "MINIO_ROOT_USER=demo" \
-e "MINIO_ROOT_PASSWORD=minio@demo" \
-v /media/sdb1/dev/demo/minio/s1:/data \
quay.io/minio/minio server http://minio-s{0...4}/data --console-address ":9090"
docker run \
-d \
-p 9992:9090 \
-p 9997:9000 \
--network demo-using \
--ip 172.18.0.92 \
--name minio-s2 \
-e "MINIO_ROOT_USER=demo" \
-e "MINIO_ROOT_PASSWORD=minio@demo" \
-v /media/sdb1/dev/demo/minio/s2:/data \
quay.io/minio/minio server http://minio-s{0...4}/data --console-address ":9090"
docker run \
-d \
-p 9993:9090 \
-p 9998:9000 \
--network demo-using \
--ip 172.18.0.93 \
--name minio-s3 \
-e "MINIO_ROOT_USER=demo" \
-e "MINIO_ROOT_PASSWORD=minio@demo" \
-v /media/sdb1/dev/demo/minio/s3:/data \
quay.io/minio/minio server http://minio-s{0...4}/data --console-address ":9090"
docker run \
-d \
-p 9994:9090 \
-p 9999:9000 \
--network demo-using \
--ip 172.18.0.94 \
--name minio-s4 \
-e "MINIO_ROOT_USER=demo" \
-e "MINIO_ROOT_PASSWORD=minio@demo" \
-v /media/sdb1/dev/demo/minio/s4:/data \
quay.io/minio/minio server http://minio-s{0...4}/data --console-address ":9090"
网友评论