Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.9.0-rc3] Cant use network id in --net flag #17543

Closed
cpuguy83 opened this issue Oct 30, 2015 · 1 comment
Closed

[1.9.0-rc3] Cant use network id in --net flag #17543

cpuguy83 opened this issue Oct 30, 2015 · 1 comment
Milestone

Comments

@cpuguy83
Copy link
Member

docker network create always outputs the network ID.
docker run --net will accept the ID, but you end up with an error: Error response from daemon: Cannot start container 69b5abfc1fd1e625d76e55897441dd568d2573f69c3e2ff08eb0ff2128b664f0: container already connected to network backend

As we can see, the network name is backend and it was resolved correctly, however it is not usable.
I can however use docker network connect with the network ID (but not with this container, as it is now a garbage container that I cannot start).

@tiborvass tiborvass added this to the 1.9.1 milestone Oct 30, 2015
@cpuguy83 cpuguy83 changed the title [1.9.0-rc3] Can use network id in --net flag [1.9.0-rc3] Cant use network id in --net flag Oct 30, 2015
@aboch
Copy link
Contributor

aboch commented Oct 31, 2015

Can reproduce anytime.
Will push a fix for this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants