Can't foreground Apache

4 posts / 0 new
Last post
#1 Tue, 2016-02-09 01:41
mcandre
  • mcandre's picture
  • Offline
  • Last seen: 1 day 11 hours ago
  • Joined: 2016-02-09

I used to be able to foreground Apache with /usr/sbin/httpd -D FOREGROUND

Now, the latest version of Apache in the Alpine repos doesn't obey this, making it difficult to wrap Apache in Docker.

Thu, 2016-03-31 20:35
memc
  • memc's picture
  • Offline
  • Last seen: 2 years 14 hours ago
  • Joined: 2016-03-31

Did you find a good workaround to this?

Thu, 2016-03-31 22:23
memc
  • memc's picture
  • Offline
  • Last seen: 2 years 14 hours ago
  • Joined: 2016-03-31

The directory where it is trying to write the pid is missing, had to add:
RUN mkdir -p /run/apache2

Mon, 2016-09-26 01:34
diegocastro
  • diegocastro's picture
  • Offline
  • Last seen: 1 year 6 months ago
  • Joined: 2016-09-26

Thank you!

I've been trying to fix this for hours. If you don't mind answering me, how did you find this error? My docker log was empty.

Log in or register to post comments