当前位置:网站首页>Minio change password

Minio change password

2020-11-10 15:13:38 Jeecg open source community

 

Introduce

the latest version Minio After installing the official installation , Log in to change the password prompt can not modify
 Insert picture description here
This is not acceptable for the build environment

Now I can think of , Stop the original service , Restart to set a new password , Specific steps

Pull the mirror image

docker pull minio/minio

start-up

docker run -p 9000:9000 --name minio \
-d --restart=always \
-e "MINIO_ACCESS_KEY=admin" \
-e "MINIO_SECRET_KEY=admin123456" \
-v /home/data:/data \
-v /home/config:/root/.minio \
minio/minio server /data

stop it

docker stop minio

Delete container

docker rm <minio-container-id>

Restart , Set a new password

docker run -p 9000:9000 --name minio \
-d --restart=always \
-e "MINIO_ACCESS_KEY=admin2" \
-e "MINIO_SECRET_KEY=adminchanged" \
-v /home/data:/data \
-v /home/config:/root/.minio \
minio/minio server /data

 

版权声明
本文为[Jeecg open source community]所创,转载请带上原文链接,感谢