# Error Running Docker container on host network

**URL:** <https://forums.docker.com/t/error-running-docker-container-on-host-network/65406>\
**Category:** General\
**Tags:** docker\
**Created:** [December 19, 2018, 5:00pm UTC](https://forums.docker.com/t/error-running-docker-container-on-host-network/65406 "2018-12-19T17:00:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauricem](https://avatars.discourse-cdn.com/v4/letter/m/b5a626/32.png) [@mauricem](https://forums.docker.com/u/mauricem)\
**Post date:** [December 19, 2018, 5:00pm UTC](https://forums.docker.com/t/error-running-docker-container-on-host-network/65406/1 "2018-12-19T17:00:56Z")

</div>

Since updating my systems I get an error when running " docker run --network=host -e PORT0=9980 -e PORT1=9981 mesosphere/chronos:v3.0.2"

docker: Error response from daemon: OCI runtime create failed: container\_linux.go:348: starting container process caused "process\_linux.go:301: running exec setns process for init caused “exit status 22"”: unknown.  
ERRO[0000] error waiting for container: context canceled

It runs fine when using --network=bridge

The docker version is docker-ce/xenial,now 5:18.09.0~3-0~ubuntu-xenial amd64 [installed]

Linux version is Ubuntu 16.04.5 LTS.

The Host network configuration is :

docker network inspect host  
[  
{  
“Name”: “host”,  
“Id”: “871734ef6be57bc5144788337678c03e8519c5741c786671d26d8d270e55d7a4”,  
“Created”: “0001-01-01T00:00:00Z”,  
“Scope”: “local”,  
“Driver”: “host”,  
“EnableIPv6”: false,  
“IPAM”: {  
“Driver”: “default”,  
“Options”: null,  
“Config”:   
},  
“Internal”: false,  
“Attachable”: false,  
“Ingress”: false,  
“ConfigFrom”: {  
“Network”: “”  
},  
“ConfigOnly”: false,  
“Containers”: {},  
“Options”: {},  
“Labels”: {}  
}

It worked fine before the last patch round. We have an Acceptance environment which is identical where the problem does not occur.

Does anybody have a tip how to solve this, where to search, how to find the problem ?

Thanks in advance for the answer.
