containers
containers copied to clipboard
MARIADB_RANDOM_ROOT_PASSWORD Not Working
Name and Version
bitnami/mariadb:latest
What architecture are you using?
None
What steps will reproduce the bug?
Adding the environment variable MARIADB_RANDOM_ROOT_PASSWORD set to anything
What is the expected behavior?
The container runs, and a random root password is created and output in the container logs, e.g.:
2024-06-24 17:46:16 2024-06-24 21:46:16+00:00 [Note] [Entrypoint]: GENERATED ROOT PASSWORD: `[A_beL5!?IY?3GnHV|H5.^VX#mM7$Ir
What do you see instead?
2024-06-24 17:50:05 mariadb 21:50:05.49 ERROR ==> The MARIADB_ROOT_PASSWORD environment variable is empty or not set. Set the environment variable ALLOW_EMPTY_PASSWORD=yes to allow the container to be started with blank passwords. This is recommended only for development.
Additional information
The official mariadb image works as expected.