{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17750","labels_url":"https://api.github.com/repos/docker/docker/issues/17750/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17750/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17750/events","html_url":"https://github.com/docker/docker/issues/17750","id":115457878,"number":17750,"title":"Is it possible to bind a container to multi networks?","user":{"login":"tonicbupt","id":1748597,"avatar_url":"https://avatars.githubusercontent.com/u/1748597?v=3","gravatar_id":"","url":"https://api.github.com/users/tonicbupt","html_url":"https://github.com/tonicbupt","followers_url":"https://api.github.com/users/tonicbupt/followers","following_url":"https://api.github.com/users/tonicbupt/following{/other_user}","gists_url":"https://api.github.com/users/tonicbupt/gists{/gist_id}","starred_url":"https://api.github.com/users/tonicbupt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonicbupt/subscriptions","organizations_url":"https://api.github.com/users/tonicbupt/orgs","repos_url":"https://api.github.com/users/tonicbupt/repos","events_url":"https://api.github.com/users/tonicbupt/events{/privacy}","received_events_url":"https://api.github.com/users/tonicbupt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-06T08:13:53Z","updated_at":"2015-11-06T09:03:37Z","closed_at":null,"body":"I'm using docker 1.9.0 and I use `docker network create` to create 2 networks named `'net'`, `'net2'`, but when I started container, I tried to pass `--net=net1 --net=net2` or `--net=net1,net2` to join multi network before real process in container starts, I got failed.\r\nI checked source code and I found `allocateNetwork` when allocate all networks in `container.NetworkSettings.Networks`, so it must be possible to do this, but how? It seems currently the API doesn't offer this feature."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/154349857","html_url":"https://github.com/docker/docker/issues/17750#issuecomment-154349857","issue_url":"https://api.github.com/repos/docker/docker/issues/17750","id":154349857,"user":{"login":"coolljt0725","id":8232360,"avatar_url":"https://avatars.githubusercontent.com/u/8232360?v=3","gravatar_id":"","url":"https://api.github.com/users/coolljt0725","html_url":"https://github.com/coolljt0725","followers_url":"https://api.github.com/users/coolljt0725/followers","following_url":"https://api.github.com/users/coolljt0725/following{/other_user}","gists_url":"https://api.github.com/users/coolljt0725/gists{/gist_id}","starred_url":"https://api.github.com/users/coolljt0725/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolljt0725/subscriptions","organizations_url":"https://api.github.com/users/coolljt0725/orgs","repos_url":"https://api.github.com/users/coolljt0725/repos","events_url":"https://api.github.com/users/coolljt0725/events{/privacy}","received_events_url":"https://api.github.com/users/coolljt0725/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T09:03:37Z","updated_at":"2015-11-06T09:03:37Z","body":"@tonicbupt  Actually, I +1 on supporting multiple network on `docker run` and I have done some work to make this happen :-)"}}