Skip to content

alpine-apache doesn't start, could not create PID file #71

@gyger

Description

@gyger

I use the base package alpine-apache to additionally install
php-apache2.

  RUN apk add --update \
          php-apache2 \
          php-sqlite3 \
          php-xml \
          php-curl \
          php-dom \
          php-iconv \
          php-pdo_sqlite \
          php-json \
          php-ctype \
        && rm -rf /var/cache/apk/*

When I try to start the container I get the following errors

Jän 08 22:56:15 <hostname> docker[19307]: [Sun Jan 08 21:56:15.136430 2017] [core:error] [pid 201] (2)No such file or directory: AH00099: could not create /run/apache2/http
Jän 08 22:56:15 <hostname> docker[19307]: [Sun Jan 08 21:56:15.136455 2017] [core:error] [pid 201] AH00100: httpd: could not log pid to file /run/apache2/httpd.pid

Any ideas where this could come from? In the beginning my containers were working, this only happened after I rebuild it in the recent weeks (i think around two weeks ago).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions