Multi entry point in a docker container

php-FPM and nginx inside a single distroless docker container

We all know that docker container is supporting only one process as ENTRYPOINT or CMD to bootup the container. However, sometimes we may need to run multiple processes in one docker container . For example, a php container where you might need to start both nginx and php-fpm so that both of your nginx and php-fpm can share same source code files by mounting a disk or coping the files into the container. In this post we will see how to achieve…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tanvir Shahid

🦾 Startup mechanic, 💻 Coder, 🧔🏻Techaholic, ₿ Crypto enthusiast, 🍣 Sushi, System architect @ https://retail-ai.jp | https://jp.linkedin.com/in/tanvir-shahid