# Docker run Ânetwork=host option fails

**URL:** <https://forums.suse.com/t/docker-run-a-network-host-option-fails/28859>\
**Category:** SLES Virtualization\
**Created:** [October 28, 2016, 12:03am UTC](https://forums.suse.com/t/docker-run-a-network-host-option-fails/28859 "2016-10-28T00:03:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry98](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jerry98](https://forums.suse.com/u/jerry98)\
**Post date:** [October 28, 2016, 12:03am UTC](https://forums.suse.com/t/docker-run-a-network-host-option-fails/28859/1 "2016-10-28T00:03:36Z")

</div>

Docker version  
Version: 1.12.2  
API version: 1.24  
Go version: go1.7  
Git commit: 8eab29e  
OS/Arch: linux/amd64

Docker info  
Storage Driver: btrfs  
Build Version: Btrfs v4.1.2+20151002  
Library Version: 101  
Logging Driver: json-file  
Cgroup Driver: cgroupfs  
Plugins:  
Volume: local  
Network: host bridge null overlay  
Swarm: inactive  
Runtimes: oci runc  
Default Runtime: oci  
Security Options: apparmor  
Kernel Version: 4.4.21-68-default  
Operating System: SUSE Linux Enterprise Server 12 SP2  
OSType: linux  
Architecture: x86\_64  
Docker Root Dir: /var/lib/docker  
Debug Mode (client): false  
Debug Mode (server): false  
Registry: [https://index.docker.io/v1/](https://index.docker.io/v1/)

Issue  
docker run -it --rm --network=host busybox /bin/sh

It fails and produces this error.  
docker: Error response from daemon: invalid header field value "oci runtime error: container\_linux.go:247: starting container process caused “process\_linux.go:245: running exec setns process for init caused \“exit status 17\””  
".

Note:  
–network=bridge (default) or null works fine  
only --network=host option fails.

Anyone has seen this or has a suggestion?

Thanks.

---

<div class="post-metadata">

**Author:** ![Automatic\_Reply](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Automatic\_Reply](https://forums.suse.com/u/Automatic_Reply)\
**Post date:** [November 2, 2016, 6:30am UTC](https://forums.suse.com/t/docker-run-a-network-host-option-fails/28859/2 "2016-11-02T06:30:16Z")

</div>

jerry98,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue  
is urgent or not getting a response, you might try one of the following options:

- Visit [http://www.suse.com/support](http://www.suse.com/support) and search the knowledgebase and/or check all  
the other support options available.
- Open a service request: [https://www.suse.com/support](https://www.suse.com/support)
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.suse.com](http://forums.suse.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.suse.com/faq.php](http://forums.suse.com/faq.php)

If this is a reply to a duplicate posting or otherwise posted in error, please  
ignore and accept our apologies and rest assured we will issue a stern reprimand  
to our posting bot…

Good luck!

Your SUSE Forums Team  
[http://forums.suse.com](http://forums.suse.com)
