Skip to content

Feature: Sandbox add network parm and use inner container_name instead of host-gateway #2600

@cw1427

Description

@cw1427

Deerflow在启动sandbox docker container 时,应该接收一个network参数,加入到langgraph一样的网络,就不需要一一探测哪个端口可用,然后再暴露端口到宿主上。再使用DooD方式 host-gateway地址来访问Sandbox

有时候在使用host-gateway地址来访问sandbox 经常无法连接成功,从而被langgraph判断成sandbox启动失败。但是实际上在宿主中用宿主ip+暴露出来的端口号是能成功连上sandbox的。

所以建议直接用container name加 network方式替换原来 host-gateway方式

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions