You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Th container is created but the environment variables are not used.
No volumes are defined, and the image is the latest one.
What am i doing wrong?
Thanks
The text was updated successfully, but these errors were encountered:
Lentolo
changed the title
Envirinment variables not working
Environment variable MYSQL_ROOT_PASSWORD not working
Oct 25, 2019
We don't escape any password characters since we didn't want to implement the equivalent of mysql_real_escape_string in bash and didn't want to burden the image with an install of a library/language just for this purpose.
The environment variables are added appropriately, but they contain invalid characters as input to mariadb
Hi,
I am trying to create a docker container with the below script:
docker run
--name mydb
--publish 3306:3306
--env 'MYSQL_ROOT_PASSWORD=mySecret1!'
--env 'MYSQL_DATABASE=mydb'
--env 'MYSQL_USER=mydb'
--env 'MYSQL_PASSWORD=mydb1!'
--detach
mariadb:latest
Th container is created but the environment variables are not used.
No volumes are defined, and the image is the latest one.
What am i doing wrong?
Thanks
The text was updated successfully, but these errors were encountered: