请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

MinIO安装以后无法创建bucket

图片描述

minio容器日志

[root@localhost trading_system_docker]# docker ps
CONTAINER ID   IMAGE                                                                        COMMAND                  CREATED         STATUS          PORTS                                                                                  NAMES
c00f6a950648   registry.cn-shanghai.aliyuncs.com/fengzx120/trading_system_frontend:latest   "/docker-entrypoint.…"   3 minutes ago   Up 24 seconds                                                                                          trading_system_frontend
a0c19c151162   registry.cn-shanghai.aliyuncs.com/fengzx120/trading_system:latest            "nohup java -jar tra…"   3 minutes ago   Up 24 seconds                                                                                          trading_system
bac3dafe7a76   redis:latest                                                                 "docker-entrypoint.s…"   3 minutes ago   Up 25 seconds   0.0.0.0:6379->6379/tcp, :::6379->6379/tcp                                              trading_system_redis
2a17d22c7386   minio/minio                                                                  "/usr/bin/docker-ent…"   3 minutes ago   Up 25 seconds   0.0.0.0:9000->9000/tcp, :::9000->9000/tcp, 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp   trading_system_minio
c32aee0ce1cd   mysql:5.7                                                                    "docker-entrypoint.s…"   3 minutes ago   Up 25 seconds   0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp                                   trading_system_mysql
[root@localhost trading_system_docker]# docker logs 2a17d22c7386
WARNING: Detected Linux kernel version older than 4.0.0 release, there are some known potential performance problems with this kernel version. MinIO recommends a minimum of 4.x.x linux kernel version for best performance
Formatting 1st pool, 1 set(s), 1 drives per set.
WARNING: Host local has more than 0 drives of set. A host failure will result in data becoming unavailable.
MinIO Object Storage Server
Copyright: 2015-2022 MinIO, Inc.
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Version: RELEASE.2022-07-29T19-40-48Z (go1.18.4 linux/amd64)

Status:         1 Online, 0 Offline. 
API: http://172.22.0.3:9090  http://127.0.0.1:9090 
Console: http://172.22.0.3:9000 http://127.0.0.1:9000 

Documentation: https://docs.min.io
Exiting on signal: TERMINATED
WARNING: Detected Linux kernel version older than 4.0.0 release, there are some known potential performance problems with this kernel version. MinIO recommends a minimum of 4.x.x linux kernel version for best performance
MinIO Object Storage Server
Copyright: 2015-2022 MinIO, Inc.
License: GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
Version: RELEASE.2022-07-29T19-40-48Z (go1.18.4 linux/amd64)

Status:         1 Online, 0 Offline. 
API: http://172.22.0.2:9090  http://127.0.0.1:9090 
Console: http://172.22.0.2:9000 http://127.0.0.1:9000 

Documentation: https://docs.min.io

 You are running an older version of MinIO released 9 hours ago 
 Update: Run `mc admin update` 

根据老师的建议不使用最新的MinIO镜像,问题解决

图片描述

正在回答 回答被采纳积分+3

1回答

william 2022-07-30 14:39:58

docker-compose.yml创建的时候,有修改minio的minio_access_key和minio_secret_key吗?登录minio的时候用的哪个用户?这个看起来像用户权限的问题。

0 回复 有任何疑惑可以回复我~
  • 提问者 慕村1342571 #1
    使用老师默认的那个,然后自己又修改了一下,都是灰色
    回复 有任何疑惑可以回复我~ 2022-07-30 14:45:52
  • 提问者 慕村1342571 #2
    登录的时候就是用的
    MINIO_ACCESS_KEY: fengzhaoxi
    MINIO_SECRET_KEY: fzx19890120
    回复 有任何疑惑可以回复我~ 2022-07-30 14:49:54
  • william 回复 提问者 慕村1342571 #3
    docker logs minio容器ID,看一下容器日志。这个问题感觉就是权限问题,centos用的是root用户吗?
    回复 有任何疑惑可以回复我~ 2022-07-30 14:55:10
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信