[BUG] Docker entrypoints should use exec #528

Closed
opened 2026-02-04 21:11:07 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @bt90 on GitHub (Dec 29, 2022).

Most entrypoints simply start a shell script which in turn executes node. Without exec these containers run the shell process as PID 1 and start a second one for node. This causes the shell to receive process signals from Docker instead of node.

Originally created by @bt90 on GitHub (Dec 29, 2022). Most entrypoints simply start a shell script which in turn executes node. Without `exec` these containers run the shell process as PID 1 and start a second one for node. This causes the shell to receive process signals from Docker instead of node.
Author
Owner
@bt90 commented on GitHub (Dec 29, 2022): https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#528