qbanxiaoli / fastdfs

FastDFS+FastDHT(单机+集群版)
https://hub.docker.com/r/qbanxiaoli/fastdfs
Apache License 2.0
90 stars 47 forks source link

在使用公网ip时fdht日志会有一条报错 ERROR - file: func.c, line: 332, local host does not belong to any group, program exit! #8

Closed sakiraven closed 2 years ago

sakiraven commented 2 years ago

问题1. linux环境下使用启动命令 docker run -d --restart=always --net=host --name=toolFastdfs -e IP=<公网ip> -e WEB_PORT=81 -v /home/ubuntu/docker-v/toolFastdfs:/var/local qbanxiaoli/fastdfs 在使用公网ip时fdht日志会有一条报错 ERROR - file: func.c, line: 332, local host does not belong to any group, program exit!(内网ip没有问题)

问题2. 参数--net=host在mac与win环境下无法使用,请问可以用什么代替

sakiraven commented 2 years ago

抱歉 自己没看仔细 compose完美解决问题

kebukeYi commented 2 years ago

咋解决的?我这个 也报这个错误了 【在使用公网ip时fdht日志会有一条报错 ERROR - file: func.c, line: 332, local host does not belong to any group, program exit!】