# Error on adding services.

**URL:** <https://forums.percona.com/t/error-on-adding-services/5457>\
**Category:** PMM 1.x\
**Created:** [March 2, 2017, 11:30am UTC](https://forums.percona.com/t/error-on-adding-services/5457 "2017-03-02T11:30:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasonlysinger](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@jasonlysinger](https://forums.percona.com/u/jasonlysinger)\
**Post date:** [March 2, 2017, 11:30am UTC](https://forums.percona.com/t/error-on-adding-services/5457/1 "2017-03-02T11:30:34Z")

</div>

I am running the PMM server inside a docker container. The PMM client is running on another docker container with CentOS which is connected to a mariadb docker container.

The client is connected to the server, but when I add a mysql service to the client, I get this error:

Error adding MySQL metrics: “service” failed: exec: “service”: executable file not found in $PATH

---

<div class="post-metadata">

**Author:** ![Mykola](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mykola/32/30_2.png) [@Mykola](https://forums.percona.com/u/Mykola)\
**Post date:** [March 2, 2017, 11:49am UTC](https://forums.percona.com/t/error-on-adding-services/5457/2 "2017-03-02T11:49:19Z")

</div>

Unfortunately, it is not supported to run pmm-client inside container right now, because docker containers doesn’t support init.d or systemd start-up scripts.

I created ticket for developers with feature request - [url][[PMM-627] pmm-admin executable from inside PMM Server - Percona JIRA](https://jira.percona.com/browse/PMM-627%5B/url%5D)
