Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Observe --net-alias argument to docker run #1975

Open
awh opened this issue Feb 15, 2016 · 4 comments
Open

Observe --net-alias argument to docker run #1975

awh opened this issue Feb 15, 2016 · 4 comments

Comments

@awh
Copy link
Contributor

awh commented Feb 15, 2016

Docker 1.10.0 added a new --net-alias argument to docker run - the proxy should intercept this add the additional records to weaveDNS.

@rade
Copy link
Member

rade commented Feb 15, 2016

This opens up an annoying feature gap between weave run and docker run-via-the-proxy. Should we parse --net-alias in weave run?

Btw, the proxy (and CLI, if we do the above), needs to strip the net-alias from because

$ docker run --name=foo --net-alias=bar -ti ubuntu
docker: Error response from daemon: Network-scoped alias is supported only for containers in user defined networks.

@rade
Copy link
Member

rade commented Feb 17, 2016

needs to strip the net-alias

That gives us no way to recover the aliases on restart. Unless we persist them ourselves.

@bboreham
Copy link
Contributor

bboreham commented Jul 3, 2016

Docker has another route to the same feature: docker network connect --alias

@rade
Copy link
Member

rade commented Jul 4, 2016

docker network connect --alias

That is part of #1914.

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

No branches or pull requests

3 participants