# Start Apache when starting Container

**URL:** <https://forums.docker.com/t/start-apache-when-starting-container/33898>\
**Category:** General\
**Created:** [June 21, 2017, 11:06pm UTC](https://forums.docker.com/t/start-apache-when-starting-container/33898 "2017-06-21T23:06:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sully61](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@sully61](https://forums.docker.com/u/sully61)\
**Post date:** [June 21, 2017, 11:06pm UTC](https://forums.docker.com/t/start-apache-when-starting-container/33898/1 "2017-06-21T23:06:14Z")

</div>

Hello,

i am running an apache2 server in a docker-container (debian-Image). The problem occurs when i restart the container. Then, i have to start the apache server manually (with docker exec). I tried systemctl and everything else, but nothing helped. Is it a docker thing or is this a debian problem?

Regards  
Sully
