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

network "host" is missing #4593

Closed
rdxmb opened this issue Sep 12, 2017 · 3 comments
Closed

network "host" is missing #4593

rdxmb opened this issue Sep 12, 2017 · 3 comments
Assignees
Labels
area/compose Relates to docker-compose.yml spec or docker-compose binary lifecycle/locked

Comments

@rdxmb
Copy link
Contributor

rdxmb commented Sep 12, 2017

File: compose/compose-file/index.md, CC @gbarr01

With >= 17.06 it is possible to use the Host Network within Containers. This is also true in swarm mode.

See:
docker/compose#5039
moby/moby#25873 (comment)

On this page, this information is missing.
The sections

network-mode:
"This option is ignored when deploying a stack in swarm mode with a (version 3) Compose file."

and
https://docs.docker.com/compose/compose-file/#network-configuration-reference
keep silent about that.

@mdlinville mdlinville added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Sep 12, 2017
@sudharkrish
Copy link

In swarm mode, when using docker service command, host networking can be used by passing this parameter like in->( docker service create --name $NAME --network=host $IMAGE)
Can you confirm, if this fix will add support for network: host, in swarm mode, in Docker Compose file version 3.

@rdxmb
Copy link
Contributor Author

rdxmb commented Oct 23, 2017

thanks !

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

@docker docker locked and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/compose Relates to docker-compose.yml spec or docker-compose binary lifecycle/locked
Projects
None yet
Development

No branches or pull requests

5 participants