From a996b2e7b5e8ae2b0addbaddccb8b445f2dfe7eb Mon Sep 17 00:00:00 2001 From: Robbert Korving Date: Wed, 23 Nov 2022 13:38:17 +0100 Subject: [PATCH] [bitnami/mariadb] specifically mention how custom scripts are executed (#14472) * specifically mention how custom scripts are executed Signed-off-by: Robbert Korving * added some formatting to custom file section in README Signed-off-by: Robbert Korving Signed-off-by: Robbert Korving --- bitnami/mariadb/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bitnami/mariadb/README.md b/bitnami/mariadb/README.md index 378119661a91..31cd16653fd7 100644 --- a/bitnami/mariadb/README.md +++ b/bitnami/mariadb/README.md @@ -176,7 +176,10 @@ $ docker-compose up -d ### Initializing a new instance -When the container is executed for the first time, it will execute the files with extensions `.sh`, `.sql` and `.sql.gz` located at `/docker-entrypoint-startdb.d`. +The container can execute custom files on the first start and on every start. Files with extensions `.sh`, `.sql` and `.sql.gz` are supported. + +- Files in `/docker-entrypoint-initdb.d` will only execute on the first container start. +- Files in `/docker-entrypoint-startdb.d` will execute on every container start. In order to have your custom files inside the docker image you can mount them as a volume.