Skip to content

Instantly share code, notes, and snippets.

@rahman541
Last active August 17, 2017 19:02
Show Gist options
  • Save rahman541/5af9ae0f477fbc7c758541de4836c088 to your computer and use it in GitHub Desktop.
Save rahman541/5af9ae0f477fbc7c758541de4836c088 to your computer and use it in GitHub Desktop.
WordPress in Docker
docker run --rm -d --name mariadb -p 8081:3306 -e MYSQL_ROOT_PASSWORD=wp;MYSQL_DATABASE=wp mariadb:10.3
docker run -d --rm --link mariadb:mysql --name wp -p 8080:80 wordpress:4.8-apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment