Skip to content

🐳 Minimal Docker image for WP-CLI (a command line interface for WordPress).

License

Notifications You must be signed in to change notification settings

devaloka/docker-wp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP-CLI

Build Status Docker Automated build Docker Repository on Quay Metadata

Alpine Linux based Docker image for WP-CLI.

WP-CLI is a set of command-line tools for managing WordPress installations.

Installation

Pull the image from Docker Hub.

docker pull devaloka/wp-cli

Or, pull the image from Quay.

docker pull quay.io/devaloka/wp-cli

Usage

Run the image pulled from Docker Hub

Mount a data-volume-container and run WP-CLI.

docker run --rm -it -u <uid>:<gid> -v <data-volume-container> devaloka/wp-cli <command>

Mount a host directory and run WP-CLI.

docker run --rm -it -u "$UID:$(id -g)" -v "$(pwd)/wp:/wp-cli" devaloka/wp-cli <command>

Run the image pulled from Quay

Mount a data-volume-container and run WP-CLI.

docker run --rm -it -u <uid>:<gid> -v <data-volume-container> quay.io/devaloka/wp-cli <command>

Mount a host directory and run WP-CLI.

docker run --rm -it -u "$UID:$(id -g)" -v "$(pwd)/wp:/wp-cli" quay.io/devaloka/wp-cli <command>

About

🐳 Minimal Docker image for WP-CLI (a command line interface for WordPress).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published