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

net=host #335

Closed
Khazrak opened this issue Nov 19, 2015 · 10 comments
Closed

net=host #335

Khazrak opened this issue Nov 19, 2015 · 10 comments

Comments

@Khazrak
Copy link

Khazrak commented Nov 19, 2015

There doesn't seem like net=host is supported?

@jgangemi
Copy link
Collaborator

no - not yet.

@rhuss
Copy link
Collaborator

rhuss commented Nov 30, 2015

Indeed, no support yet (so its currently always default aka bridged). However we plan to support docker network soon and hence will add support for custom networks, too.

@rhuss rhuss added this to the 0.14.0 milestone Nov 30, 2015
@rhuss rhuss added the feature label Dec 1, 2015
@swachter
Copy link

+1
I also would like to be able to configure a logspout container such that it reuses the network of a logstash container.

@indyaah
Copy link

indyaah commented Dec 30, 2015

+1

1 similar comment
@bsorrentino
Copy link

+1

@rhuss
Copy link
Collaborator

rhuss commented Feb 12, 2016

See also #321

rhuss added a commit that referenced this issue Feb 12, 2016
In detail the following modes are supported now as part of a `<run>` configuration with the tag `<net>`:

* `bridge` : the default mode using the standard Docker bridge
* `host` : Using the Docker host network
* `none` : No network
* `container:<alias or image name>` : Sharing the network with another container (much like containers in a Kubernetes POD)
* `<custom network>` : Custom network created with `docker network create` (available since Docker 1.9)
@rhuss
Copy link
Collaborator

rhuss commented Feb 12, 2016

I implemented this for 0.14.0 and pushed a 0.14.0-SNAPSHOT. See https://github.com/rhuss/docker-maven-plugin/blob/integration/doc/manual/docker-start.md for details how to configure the new <net> configuration option.

Feel free to give feedback and whether it fits your needs.

@rhuss rhuss added the fixed label Feb 12, 2016
rhuss added a commit that referenced this issue Feb 14, 2016
In detail the following modes are supported now as part of a `<run>` configuration with the tag `<net>`:

* `bridge` : the default mode using the standard Docker bridge
* `host` : Using the Docker host network
* `none` : No network
* `container:<alias or image name>` : Sharing the network with another container (much like containers in a Kubernetes POD)
* `<custom network>` : Custom network created with `docker network create` (available since Docker 1.9)
rhuss added a commit that referenced this issue Feb 22, 2016
In detail the following modes are supported now as part of a `<run>` configuration with the tag `<net>`:

* `bridge` : the default mode using the standard Docker bridge
* `host` : Using the Docker host network
* `none` : No network
* `container:<alias or image name>` : Sharing the network with another container (much like containers in a Kubernetes POD)
* `<custom network>` : Custom network created with `docker network create` (available since Docker 1.9)
@vrenjith
Copy link

Hi @rhuss - Any hints on when 0.14.0 will be available? Eagerly waiting for it.

@rhuss
Copy link
Collaborator

rhuss commented Feb 24, 2016

Sorry for the delay, I'm just about moving the plugin to a new GitHub orga (fabric8) so that we can join efforts there.

0.14.0 will be out this week, maybe even today.

@vrenjith
Copy link

That's is best news that I can hear today. Thank you and appreciate all your efforts for keeping this plugin up-to-date.

@rhuss rhuss closed this as completed Feb 25, 2016
rhuss added a commit that referenced this issue Nov 17, 2016
In detail the following modes are supported now as part of a `<run>` configuration with the tag `<net>`:

* `bridge` : the default mode using the standard Docker bridge
* `host` : Using the Docker host network
* `none` : No network
* `container:<alias or image name>` : Sharing the network with another container (much like containers in a Kubernetes POD)
* `<custom network>` : Custom network created with `docker network create` (available since Docker 1.9)
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

7 participants