Skip to content

Could add docker network option when use docker as job payload ? #615

@edocevol

Description

@edocevol

In my case, I need to start all my work containers by docker-compose. So, I ass predator to my docker-compose file, and add network option to communicate with my serve container. But, the predator-runner has no network config.

So, I suggest, config a network name in config, then docker jobConnector.js request docker networks ls get the ID of the given network. Then network id to createContainer function.

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