V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
VECH
V2EX  ?  Docker

关于在 unraid 上运行 docker postgresql15 容器访问的问题

  •  
  •   VECH · 10 天前 · 214 次点击
    宿主机是 unraid 6.12.10 正版,创建了 postgresql15 和几个应用容器 RSS 等,以前是正常的,但是最近发现应用容器无法访问 postgresql15 容器,试验排查发现的现象是:

    postgresql15 选择 bridge 模式,其他应用容器也选择 bridge 模式,应用容器可以访问 postgresql15 。
    unraid ip :192.168.1.100
    postgresql15 ip 和端口:192.168.1.100:5432
    其他容器 ip 和端口:192.168.1.100:8000

    postgresql15 选择 bridge 模式,其他应用容器选择桥接 br0 设置同网段其他 IP ,应用容器无法访问 postgresql15
    unraid ip :192.168.1.100
    postgresql15 ip 和端口:192.168.1.100:5432
    其他容器 ip 和端口:192.168.1.150:8000

    容器都选择 br0 桥接设置同网段其他不同 ip ,也无法访问
    unraid ip :192.168.1.100
    postgresql15 ip 和端口:192.168.1.120:5432
    其他容器 ip 和端口:192.168.1.150:8000

    我排查了 postgresql15 配置文件,监听配置如下:
    listen_addresses = '*'
    #defaults to 'localhost'; use '*' for all

    请问这个大概是哪里出了问题?
    容器内部防火墙?
    unraid 防火墙?
    还是其他
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   894 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:09 · PVG 07:09 · LAX 16:09 · JFK 19:09
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com