# how to edit netdata config (netdata running as container)

**URL:** <https://community.netdata.cloud/t/how-to-edit-netdata-config-netdata-running-as-container/2615>\
**Category:** General\
**Created:** [February 25, 2022, 9:16am UTC](https://community.netdata.cloud/t/how-to-edit-netdata-config-netdata-running-as-container/2615 "2022-02-25T09:16:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![choul](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/choul/32/1376_2.png) [@choul](https://community.netdata.cloud/u/choul)\
**Post date:** [February 25, 2022, 9:16am UTC](https://community.netdata.cloud/t/how-to-edit-netdata-config-netdata-running-as-container/2615/1 "2022-02-25T09:16:16Z")

</div>

Hello everyone

I’m running netdata as a docker container.

I need to make some changes to the netdata config file. Is there a simple way to edit the netdata.conf when i am running netdata as a container? Also could i make these changes permanent so when i stop / restart the container i don’t lose the new configuration?

Thanks

---

<div class="post-metadata">

**Author:** ![andrewm4894](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/andrewm4894/32/125_2.png) [@andrewm4894](https://community.netdata.cloud/u/andrewm4894)\
**Post date:** [March 1, 2022, 1:36pm UTC](https://community.netdata.cloud/t/how-to-edit-netdata-config-netdata-running-as-container/2615/2 "2022-03-01T13:36:59Z")

</div>

you should be able to get into the running container using something like this:

> **[Install Netdata with Docker | Learn Netdata](https://learn.netdata.cloud/docs/agent/packaging/docker#configure-agent-containers)**
>
> Running the Netdata Agent in a container works best for an internal network or to quickly analyze a host. Docker helps

and then make the config change in there.

to have it permanent i think would be a case of when starting netdata via docker you mount the actuall netdata.conf you want from somewhere on your local system maybe: [Install Netdata with Docker | Learn Netdata](https://learn.netdata.cloud/docs/agent/packaging/docker#host-editable-configuration)
