Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Is there are any way could set net as host? #99

Closed
stream-iori opened this issue Nov 28, 2014 · 2 comments
Closed

Is there are any way could set net as host? #99

stream-iori opened this issue Nov 28, 2014 · 2 comments

Comments

@stream-iori
Copy link

such as command in terminal docker run --net="host"

@rohansingh
Copy link
Contributor

Create a HostConfig and set its networkMode. Then call startContainer(containerId, hostConfig).

@stream-iori
Copy link
Author

I got it.
Thanks :)

On Nov 28, 2014, at 9:38 PM, Rohan Singh notifications@github.com wrote:

Create a HostConfig and set its networkMode. Then call startContainer(containerId, hostConfig).


Reply to this email directly or view it on GitHub #99 (comment).

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

No branches or pull requests

2 participants