strapi-docker
strapi-docker copied to clipboard
Ctrl-C does not exit application/container
Using Ctrl-C does not exit/initiate shutdown of the application running inside the container.
Hi @StianOvrevage, thank you for reporting this issue. Can you please share a bit more details on when you get that behavior ? Are use running an image directly / using docker-compose etc ? Some steps to reproduce would be very helpful
Sounds like an issue related to usage ENTRYPOINT or CMD command. Container started with "exec" mode will be terminated with Ctrl-C command, but using "shell" mode will not have the same behaviour. Check official entrypoint documentation for more information