I've been struggling to figure out why this is not working. The first compose file is working, but the second is not.
Working:
docker run -d --name=some-mysql -e MYSQL_ROOT_PASSWORD=root mysql:5.7.10
sleep 10 # just to make sure
docker run -d --name=some-wordpress -p 8082:80 --link some-mysql:mysql wordpress:4.4.0-apache
Not working:
docker run -d --name=some-mysql -e MYSQL_ROOT_PASSWORD=root mysql:5.7.10
sleep 10 # just to make sure
docker run -d --name=some-wordpress -p 8082:80 --link some-mysql:mysql wordpress:4.4.1-apache
Looking at a bunch of comment on the docker hub repo, I'm not alone! The latest commit only shows version and SHA update.
Some containers will contain these log entries:
Complete! WordPress has been successfully copied to /var/www/html
Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 10
MySQL Connection Error: (2002) Connection refused
Warning: mysqli::mysqli(): (HY000/2002): Connection refused in - on line 10
MySQL Connection Error: (2002) Connection refused
Any idea on what happened?
I've been struggling to figure out why this is not working. The first compose file is working, but the second is not.
Working:
Not working:
Looking at a bunch of comment on the docker hub repo, I'm not alone! The latest commit only shows version and SHA update.
Some containers will contain these log entries:
Any idea on what happened?