MinIO启动报错“WARNING: Console endpoint is listening on a dynamic port...”

错误全貌:

WARNING: Console endpoint is listening on a dynamic port (35734), please use --console-address ":PORT" to choose a static port.

错误提示很明显,需要to choose a static port

我是自己写了一个shell启动MinIO,在shell中使用--console-address '部署minio的ip:希望通过什么端口打开minio console页面'

具体shell如下:

nohup ./minio server --address '172.20.10.10:9002' --console-address '172.20.10.10:9001' /home/minio/data &

注:--address '172.20.10.10:9002'是用来指定minio接口的。

小吐槽:

使用minio -h
看不到--address--console-address参数:

[root@localhost local]# ./minio -h
NAME:
 minio - High Performance Object Storage

DESCRIPTION:
 Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO

USAGE:
 minio [FLAGS] COMMAND [ARGS...]

COMMANDS:
 server   start object storage server
 gateway  start object storage gateway

FLAGS:
 --certs-dir value, -S value  path to certs directory (default: "/root/.minio/certs")
 --quiet                      disable startup information
 --anonymous                  hide sensitive information from logging
 --json                       output server logs and startup information in json format
 --help, -h                   show help
 --version, -v                print the version

VERSION:
 RELEASE.2021-07-12T02-44-53Z

你可能感兴趣的:(笔记,minio,to,choose,a,static,port)