TangMonk
V2EX  ›  问与答

boot2docker 中的 container 能访问 host 中的服务吗?

  •  
  •   TangMonk · Oct 31, 2015 · 1654 views
    This topic created in 4040 days ago, the information mentioned may be changed or developed.

    在 windows 中用 boot2docker 部署 docker.

    docker 中的 rails 程序访问 host 中的 mysql 。

    这样可行吗?

    1 replies  •  2015-10-31 19:52:44 +08:00
    virusdefender
    virusdefender
    Oct 31, 2015
    1
    指定 host 的 ip ,和普通远程连接一样
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1308 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:47 · PVG 00:47 · LAX 08:47 · JFK 11:47
    ♥ Do have faith in what you're doing.