MySQL and Wordpress Dockers do not keep running
Dear all, I want to get Wordpress running using Docker on CoreOS.
I followed all the instructions for MySQL, I gave the following command:
docker run --name wordpress-mysql -e MYSQL_ROOT_PASSWORD=rtpassword -e MYSQL_USER=fvhemert -e MYSQL_PASSWORD=usrpassword -e MYSQL_DATABASE=wordpress -d mysql
Stangely, the container run for a short while, typing "docker ps" I see it but after some second I "docker ps" again and it is gone, I still see it using "docker ps -a".
Subsequently I give the command:
docker run --name fvhemert-wordpress --link=wordpress-mysql:mysql -e WORDPRESS_DB_USER=fvhemert -e WORDPRESS_DB_PASSWORD=usrpassword -e WORDPRESS_DB_NAME=wordpress -p 8080:80 -d wordpress
There a no further errors but "docker ps" does not show any running containers, they both are present when typing "docker ps -a" and have that status "excited".
I don't want them exited, I though that the "-d" argument would make them runs as daemons and keep them active? There is not active page on the ip.adres:8080 or ip.adres:80.
Any suggestions? What am I doing wrong?