1安装
docker pull minio/minio:RELEASE.2022-07-24T17-09-31Z
2查看下载的minio镜像
docker images
如下所示:
REPOSITORY TAG IMAGE ID CREATED SIZE
minio/minio RELEASE.2022-07-24T17-09-31Z 7839087e3e9f 16 hours ago 220MB
3启动
docker run -d -p 9000:9000 -p 50000:50000 --privileged=true --restart=always --name minio -e "MINIO_ROOT_USER=root" -e "MINIO_ROOT_PASSWORD=12345678" -v /docker_data/minio/data:/data -v /docker_data/minio/config:/root/.minio minio/minio:RELEASE.2022-07-24T17-09-31Z server --console-address ":50000" /data
4开启防火墙
firewall-cmd --zone=public --add-port=9000/tcp --permanent
firewall-cmd --zone=public --add-port=50000/tcp --permanent
firewall-cmd --reload
5浏览器访问ip:port
50000是 -p 50000:50000 --console-address “:50000”
如:192.168.18.111:50000
账号密码对应配的密码要求最少8位
root
12345678
6.修改密码