-
-
Notifications
You must be signed in to change notification settings - Fork 515
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 option works not with expected behavior #138
Comments
Thank you for providing the test! |
@gianarb I've debugged a little bit and I've founded out something.
I see
"NetworkMode": "host" When I use this library I see
"NetworkMode": "default" I can make PR if you don't mind. |
Please do thanks!
Il Gio 30 Gen 2020, 23:37 Bablzz <notifications@github.com> ha scritto:
… @gianarb <https://github.com/gianarb> I've debugged a little bit and I've
founded out something.
Example
docker run --net host ...
docker inspect ...
I see
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "host"
*"NetworkMode": "host"*
When I use this library I see
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default"
*"NetworkMode": "default"*
I can make PR if you don't mind.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=AAMOAOY5TEU6GSSHR6K36W3RAPBLHA5CNFSM4KL7GAJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKNVCFA#issuecomment-580604180>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMOAO5ICQVMFEIQOSRDIW3RAPBLHANCNFSM4KL7GAJA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone!
Thanks for excellent library!
I've got stack an one problem. Maybe you can help me. Maybe I don't understand something
Thanks in advance!
PS. Library v.0.0.10
Describe the bug
Network host option works not with expected behavior
To Reproduce
=> golang.org/x/sys/unix.ECONNREFUSED (111)
Expected behavior
When I use
Networks: []string{"host"}
I expect the same behavior asdocker run --net host
** docker info **
output of the command:
Additional context
I've tried to add option like ExposedPorts but I've got the same error.
But if I delete Networks "host" options and add ExposedPorts it works
The text was updated successfully, but these errors were encountered: