Sign inSign up

slobberbone/docker-wordpress

By slobberbone

Updated almost 11 years ago

Out-of-the-box Wordpress docker image without MySQL and export wordpress installation directory

Image
0

1.7K

slobberbone/docker-wordpress repository overview

docker-wordpress

Out-of-the-box Wordpress docker image without MySQL and export wordpress installation directory

Usage

To create the image slobberbone/wordpress, execute the following command on the slobberbone-docker-wordpress folder:

docker build -t slobberbone/wordpress .

You can now push your new image to the registry:

docker push slobberbone/wordpress

Running your Wordpress docker image

Start and pull if needed MySQL/MariaDB image:

docker run -d --name mysql-wordpress -e MYSQL_ROOT_PASSWORD=XXXXXXX -v /media/your_directory/mysql/:/var/lib/mysql mysql:latest

Start your image:

docker run -d --name wordpress -p 80:80 --link mysql-wordpress:mysql -e DB_PASSWORD=XXXXXXX -v /media/your_directory:/var/www/html -d wordpress slobberbone/wordpress 

Test your deployment:

curl http://localhost/

You can now start configuring your Wordpress container!

Tag summary

Content type

Image

Digest

sha256:5df4598cf

Size

209.4 MB

Last updated

almost 11 years ago

docker pull slobberbone/docker-wordpress