- 创建挂载目录
mkdir -p /home/software/minio_mall/conf
mkdir -p /home/software/minio_mall/data
2.创建容器
docker run --name minio -p 9010:9000 -p 39175:39175 -d --restart=always \
-e TZ="Asia/Shanghai" \
-e "MINIO_ACCESS_KEY=admin" \
-e "MINIO_SECRET_KEY=os10+GHGF" \
--privileged=true \
-v /data/software/minio/data:/data \
-v /data/software/minio/conf:/root/.minio \
minio/minio server --console-address '0.0.0.0:39175' /data
3.访问http://127.0.0.1:39175 /
4.创建桶