yochine
V2EX  ›  Docker

各位彦祖,关于 docker-compose 疑问

  •  
  •   yochine · Oct 14, 2021 · 1239 views
    This topic created in 1750 days ago, the information mentioned may be changed or developed.
    采用 docker-compose 方式启动 nacos,mysql 等容器,设置了自定义 network,模式为 brige,本机电脑为 mac,防火墙是关闭的,查看日志容器启动成功无报错信息,容器内部可以使用容器名进行访问。问题是我使用 localhost 或者 127,0,0,1 都无法访问,宿主机端口已映射,其他方式直接使用 docker run 的容器就可以直接访问,彦祖们知道为啥吗,哪里出了问题呢
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   939 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 18ms · UTC 21:12 · PVG 05:12 · LAX 14:12 · JFK 17:12
    ♥ Do have faith in what you're doing.