CrowdStrike / detection-container

https://quay.io/repository/crowdstrike/detection-container
The Unlicense
38 stars 20 forks source link

fix /run/php-fpm already exists #36

Closed DieuwerH closed 1 year ago

DieuwerH commented 1 year ago

Container won't run and logs error on M2 Macbook Pro: 2023-06-06 17:15:08 mkdir: cannot create directory '/run/php-fpm': File exists

Added -p option to the command mkdir /run/php-fpm in entrypoint.sh, to not fail if folder exists.

After adding this option the container does run.