Loading...
 

WordPress

Docker Image Notes

  • Pull the image
    docker pull wordpress:latest
  • Run the container. NOTE: the quotes around the mysql password, needed if there are special characters
    docker run --name <name> --link <mysql_container> -e WORDPRESS_DB_HOST=<mysql_container> -e WORDPRESS_DB_USER=<username> -e WORDPRESS_DB_PASSWORD='<password>' -e WORDPRESS_DB_NAME=<database_name> -p 8080:80 --restart=unless-stopped --net=bridge -d wordpress
Show php error messages