Sign inSign up

dishoneprabu/wordpress-alpine

By dishoneprabu

•Updated 6 months ago

Image
Content management system
0

10K+

dishoneprabu/wordpress-alpine repository overview

⁠Why Use This Image?

  • Small Footprint: Based on Alpine Linux, which is known for its minimalistic design, the image is significantly smaller than other WordPress images, reducing disk space usage.
  • Faster Startup: Alpine’s lightweight nature allows faster container startup times, improving deployment speed.
  • Resource Efficiency: Ideal for environments with limited resources such as small VPS instances or development environments where every megabyte counts.
  • Customizable: Easily extendable with plugins and themes to meet specific requirements.

⁠Getting Started

Here’s how to get up and running with dishoneprabu/wordpress-alpine:latest on Docker:

⁠Prerequisites
  • Docker installed on your system.
  • A running MySQL or MariaDB instance, which WordPress requires for storing content.
⁠Step 1: Pull the Image

To get the latest version of the image, use the following command:

docker pull dishoneprabu/wordpress-alpine:latest
⁠Step 2: Start a MySQL Container

If you don’t have an existing MySQL instance, you can quickly set one up using Docker:

docker run --name wordpress-db -e MYSQL_ROOT_PASSWORD=rootpassword -e MYSQL_DATABASE=wordpress -e MYSQL_USER=wordpressuser -e MYSQL_PASSWORD=wordpresspassword -d mysql:latest

Replace rootpassword, wordpressuser, and wordpresspassword with your desired values.
This command creates a new MySQL container named wordpress-db and sets up a wordpress database.

⁠Step 3: Run the WordPress Container

After setting up the database, you can start the WordPress container:

docker run --name wordpress -e WORDPRESS_DB_HOST=wordpress-db:3306 -e WORDPRESS_DB_USER=wordpressuser -e WORDPRESS_DB_PASSWORD=wordpresspassword -e WORDPRESS_DB_NAME=wordpress -p 8080:80 -d dishoneprabu/wordpress-alpine:latest

This command will start the dishoneprabu/wordpress-alpine:latest container, mapping port 80 of the container to port 8080 on your local machine.
Replace the environment variables with the appropriate values matching your database setup.

⁠Step 4: Access Your WordPress Site

Once the container is up and running, you can access your WordPress site by visiting:

http://localhost:8080

Follow the setup wizard to configure your new WordPress site.

⁠🎥 Watch the Setup Tutorial

You can follow this video for a step-by-step setup guide:

Watch the video

Tag summary

Content type

Image

Digest

sha256:910a13099…

Size

79.5 MB

Last updated

6 months ago

docker pull dishoneprabu/wordpress-alpine