[bitnami/mariadb] specifically mention how custom scripts are executed (#14472)
* specifically mention how custom scripts are executed Signed-off-by: Robbert Korving <r.korving@gmail.com> * added some formatting to custom file section in README Signed-off-by: Robbert Korving <r.korving@gmail.com> Signed-off-by: Robbert Korving <r.korving@gmail.com>
This commit is contained in:
parent
26b04ddeec
commit
a996b2e7b5
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue