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

Add network_alias argument to client.containers.run. #2440

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dhatch
Copy link

@dhatch dhatch commented Sep 30, 2019

Adds the ability to pass network_alias as an option to client.containers.run. This option is supported in the docker CLI as --network-alias.

This is available in the low-level CLI, but would be great if it is available in the higher level API.

- Adds argument to run enabling network aliases, enabling
  the same functionality as the --network-alias option to
  the docker run CLI.

Signed-off-by: David Hatch <david@osohq.com>
Signed-off-by: David Hatch <david@osohq.com>
@Manu10744
Copy link

Manu10744 commented Mar 3, 2021

It would be great if this is going to be merged.
This would need to be also made available to client.containers.create according to the API specs

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

Successfully merging this pull request may close these issues.

None yet

2 participants