From 10dd00486357d774bb23f385f8fa30ddbfe8278f Mon Sep 17 00:00:00 2001 From: Niclas Heinz Date: Sat, 8 Feb 2025 02:54:28 +0100 Subject: [PATCH] Added warning on using Docker in production (#7977) * docsc(publishing your site): Add a warning regarding the container image * docs(publishing your site): Move warning to creating your site * docs(creating your site): Moved back warning to publising your site * docs(publish your site): Remove warning * docs(getting started): Add warning admonition * docs(getting started): Move it to the end of chapter * docs(publish your site): Remove lines --- docs/getting-started.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 9706e7eb7..b5e0b3dd0 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -122,6 +122,13 @@ The following plugins are bundled with the Docker image: [mkdocs-minify-plugin]: https://github.com/byrnereese/mkdocs-minify-plugin [mkdocs-redirects]: https://github.com/datarobot/mkdocs-redirects +???+ warning + + The Docker container is intended for local previewing purposes only and + is not suitable for deployment. This is because the web server used by + MkDocs for live previews is not designed for production use and may have + security vulnerabilities. + ??? question "How to add plugins to the Docker image?" Material for MkDocs only bundles selected plugins in order to keep the size