How to connect to an existing docker network with docker remote API (through dockerode) How to connect to an existing docker network with docker remote API (through dockerode) docker docker

How to connect to an existing docker network with docker remote API (through dockerode)


I find it !

Add following option to the dockerode start process did the tricks !

"HostConfig": {    "NetworkMode": "deimos_default"}

Find the row in documentation here : https://docs.docker.com/engine/reference/api/docker_remote_api_v1.22/#create-a-container