私有云存储Minio Docker镜像无法启动,提示:Adding local Minio host to 'mc' configuration
投稿:mrr
使用Minio在本地搭建私有云存储时出现无法启动,查看日志频繁输出“Adding local Minio host to 'mc' configuration...”,然后停止了,本文给大家分享私有云存储Minio Docker镜像无法启动,提示:Adding local Minio host to 'mc' configuration,感兴趣的朋友一起看看吧
使用Minio在本地搭建私有云存储时出现无法启动,查看日志频繁输出“Adding local Minio host to 'mc' configuration...”,然后停止了
完整日志信息:
[root@myserver ~]# docker logs -f minio
16:15:47.72
16:15:47.72 Welcome to the Bitnami minio container
16:15:47.72 Subscribe to project updates by watching https://github.com/bitnami/containers
16:15:47.72 Submit issues and feature requests at https://github.com/bitnami/containers/issues
16:15:47.72
16:15:47.72 INFO ==> ** Starting MinIO setup **
minio 16:15:47.74 INFO ==> Starting MinIO in background...
minio 16:15:57.76 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:02.79 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:07.83 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:12.86 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:17.89 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:22.93 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:27.95 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:32.99 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:38.02 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:43.06 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:48.09 INFO ==> Adding local Minio host to 'mc' configuration...
minio 16:16:53.12 INFO ==> Adding local Minio host to 'mc' configuration...
Failed to add temporary MinIO server
minio 16:16:58.15 INFO ==> MinIO is already stopped...
[root@myserver ~]#
无法启动原因:密码长度太短
解决办法:将密码长度设置位不少于8位即可
注意:账号长度必须大于等于5,密码长度必须大于等于8位)
docker run -it -d --name minio \ -p 9000:9000 -p 9001:9001 \ -v /root/demo/minio/data:/data \ --env MINIO_ROOT_USER="root" \ ### --env MINIO_ROOT_PASSWORD="123456" \ //密码长度不够 --env MINIO_ROOT_PASSWORD="abc123456" \ //更长的密码长度,至少8位 bitnami/minio:latest
到此这篇关于私有云存储Minio Docker镜像无法启动,提示:Adding local Minio host to 'mc' configuration的文章就介绍到这了,更多相关Docker镜像无法启动内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!