From 308bc8d05aec3979ce4ebfdf66ce6cca87461265 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Tue, 2 Apr 2024 10:26:02 +0200 Subject: [PATCH] docs: mention the init process (#12177) --- docs/guides/docker.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/guides/docker.md b/docs/guides/docker.md index 266ddb5d3b2..0c9eaecac04 100644 --- a/docs/guides/docker.md +++ b/docs/guides/docker.md @@ -30,3 +30,10 @@ mode. If you need to build an image based on a different base image, you can use our [`Dockerfile`](https://github.com/puppeteer/puppeteer/blob/main/docker/Dockerfile) as the starting point. + +:::caution + +Make sure to specify a init process via the `--init` flag or a custom `ENTRYPOINT` +to make sure all processes started by Puppeteer are managed properly. + +:::