eugeneware / docker-wordpress-nginx

A Dockerfile that installs the latest wordpress, nginx and php-fpm.
MIT License
874 stars 380 forks source link

Unable to see mysql root password #34

Closed davejfranco closed 9 years ago

davejfranco commented 9 years ago

After I start the container with sudo docker run -d -p 8080:80 -p 3306:3306 eugeneware/wordpress, I do sudo docker logs and it shows the following:

150423 19:41:15 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect. 150423 19:41:15 mysqld_safe Logging to '/var/log/mysql/error.log'. 150423 19:41:15 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

it will be nice if you can assign mysql_password to the container.