I almost have a successful CircleCI 2.0 build on our main project, but I’ve now run into an issue that I’m not sure I can fix without reworking our custom Docker image. Hoping to get some feedback from the CircleCI team. Currently we have a custom image that runs Nginx and PHP-FPM within the same container, and then through the config file we link a few other services to that container.
To keep Nginx and PHP-FPM running we are using Supervisor, so when we go to run integration tests, we copy over a Nginx config file, and restart nginx through supervisor and boom, the site is available on localhost within the container… or thats how it should be working.
Unfortunately it seems there is an issue with Docker and the Kernel version being used + Overlayfs, that prevents supervisor from working within the CircleCI environment. (https://github.com/docker/docker/issues/12080#issuecomment-162000092)
So my question is, is there a better way to setup or test things that involve running Nginx and PHP-FPM (all of your examples are unfortunately in Apache or I’d have started there), or is this something that could be fixed or updated?