Skip to content

Container won't start twice: "httpd (pid 13) already running" #187

@conradkleinespel

Description

@conradkleinespel

Hello,

Thanks for setting up this image. It's saving me a ton of time 👍

It seems like if you run php:5.6-apache through Docker Compose, it will run fine the first time, but not the second time, because it seems to be keeping a reference to the previous process ID.

This have discussed here previously (in 2014): https://groups.google.com/forum/#!topic/docker-user/2dP09wrq5Qk

Is there any specific reason for this? Would you be OK with a PR that removes the left over PID before exiting, as shown in the link above.

Best regards,
Conrad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions