下载指定版本minio镜像
docker pull minio/minio:RELEASE.2022-01-04T07-41-07Z
1
创建挂载文件夹
mkdir -p /opt/minio/data
mkdir -p /opt/minio/config
运行容器
docker run --name minio \
-p 9000:9000 \
-p 9090:9090 \
-d --restart=always \
-e "MINIO_ACCESS_KEY=61b387189dfc4de98c4774ba55dc2f3c" \
-e "MINIO_SECRET_KEY=71a5f6ab1ac246caa5f3364e3405bda1" \
-v /opt/minio/data:/data \
-v /opt/minio/config:/root/.minio \
minio/minio:RELEASE.2022-01-04T07-41-07Z server /data \
--console-address ":9090" -address ":9000"
————————————————