dzdh
V2EX  ›  Docker

有办法可以在宿主机通过 container_name 与容器内进行通信吗?

  •  
  •   dzdh · Jun 15, 2022 · 1635 views
    This topic created in 1469 days ago, the information mentioned may be changed or developed.
    3 replies    2022-06-15 15:08:08 +08:00
    wheeler
        1
    wheeler  
       Jun 15, 2022 via iPhone
    hosts 手动添加地址?
    dzdh
        2
    dzdh  
    OP
       Jun 15, 2022
    @wheeler 应该是行不通的。我想的有点多。
    zhouwb
        3
    zhouwb  
       Jun 15, 2022
    不行吧,通过 ip 倒是可以
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5695 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 95ms · UTC 06:08 · PVG 14:08 · LAX 23:08 · JFK 02:08
    ♥ Do have faith in what you're doing.