dzdh
V2EX  ›  Docker

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

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