# Docker run issue

**URL:** <https://forums.docker.com/t/docker-run-issue/54921>\
**Category:** General\
**Tags:** build\
**Created:** [July 27, 2018, 8:12am UTC](https://forums.docker.com/t/docker-run-issue/54921 "2018-07-27T08:12:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![terpz](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/terpz/32/36125_2.png) [@terpz](https://forums.docker.com/u/terpz)\
**Post date:** [July 27, 2018, 12:57pm UTC](https://forums.docker.com/t/docker-run-issue/54921/5 "2018-07-27T12:57:53Z")

</div>

Hi again.

You cant start services that way im afraid.

if you want to start multiple services within 1 container, you should look into Supervisor.

I wrote earlier an quick example of this:

> [@CentOS 7 systemd](https://forums.docker.com/t/centos-7-systemd/54791/6):
>
> Hi You are not going to get that to work in Docker. What I use, in the rare cases i need multiple services running in same container, is supervisor. quick example: services.conf: [program:sshd] directory=/usr/local/ command=/usr/sbin/sshd -D autostart=true autorestart=true redirect\_stderr=true [program:someOtherService] directory=/usr/local/ command=/usr/sbin/Otherservice -D autostart=true autorestart=true redirect\_stderr=true Dockerfile RUN apt-get install -y supervisor AD…

---

_[View the full topic](https://forums.docker.com/t/docker-run-issue/54921)._
