1 | root@docker:~/drupal# docker inspect drupal_mysql | grep MYSQL_ROOT_PASSWORD |
I’ve gratuitously rebuilt, recreated, --no-cache'd, --force-recreate'd.. nothing is working. I’ve also tried putting the environment variable directly in a mysql Dockerfile and as an “environment” argument in my docker-compose.yml.
The only thing that IS working is passing -e ‘MYSQL_ROOT_PASSWORD=test’ in a docker run statement.