# Netdata agent on host with running docker image in it

**URL:** <https://community.netdata.cloud/t/netdata-agent-on-host-with-running-docker-image-in-it/5939>\
**Category:** Help\
**Tags:** agent\
**Created:** [November 7, 2024, 12:02am UTC](https://community.netdata.cloud/t/netdata-agent-on-host-with-running-docker-image-in-it/5939 "2024-11-07T00:02:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bemon](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/bemon/32/3952_2.png) [@bemon](https://community.netdata.cloud/u/bemon)\
**Post date:** [November 7, 2024, 12:02am UTC](https://community.netdata.cloud/t/netdata-agent-on-host-with-running-docker-image-in-it/5939/1 "2024-11-07T00:02:43Z")

</div>

I have very strange problem when running netdata agent on machine that runs docker containers. I have configured netdata agent with httpcheck plugin to monitor specific external api endpoint. Also i want to docker container have access to this endpoint simultaneously. But when running netdata agent on host machine ( or only httpcheck plugin for that matter) docker instance lost connection to external api. With stopped netdata or plugin - all of a sudden connection is restored. When I remove api endpoint from httpcheck config file and run it - it also works. I double checked firewall rules, docker network configurations etc. with no luck. It seems that httpcheck plugin somehow ( or plugin host process ) block or intercepts ? docker network traffic.

I tried to read plugin source in go, and what its only do is to create http request in specific intervals. I don’t see how it affects docker container.

I tried to disable in netdata.conf cgroup entry to stop monitoring docker instances - it did not help.  
Tried to monitor network trafic, tcpdump or debug socket function calls for plugin and all seems ok and normal. For what i can tell packets are going out from docker container, but are lost way back on host machine.

Any idea ?

---

<div class="post-metadata">

**Author:** ![iliya](https://avatars.discourse-cdn.com/v4/letter/i/dbc845/32.png) [@iliya](https://community.netdata.cloud/u/iliya)\
**Post date:** [November 9, 2024, 11:28am UTC](https://community.netdata.cloud/t/netdata-agent-on-host-with-running-docker-image-in-it/5939/2 "2024-11-09T11:28:00Z")

</div>

what docker do you have and what version? I note that you need to restart the netdata service via mmc snap-in find netdata and restart it.
