liang3404814 / docker-wordpress-wp-cli

Dockerfile for WordPress with WP-CLI pre-installed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-wordpress-wp-cli

This repository contains the Dockerfile for the autobuild of wordpress-with-wp-cli Docker image.

The Dockerfile uses the official WordPress image and adds wp-cli.

To use, simply run:

docker run --name <containername> conetix/wordpress-with-wp-cli

For all other configuration items, please see the official Docker WordPress ReadMe.

You can then call the standard wp-cli commands via docker exec. For example, to install and activate the Quark theme:

docker exec <containername> wp theme install quark
docker exec <containername> wp theme activate quark

Please feel free to fork and use for your own projects.

About

Dockerfile for WordPress with WP-CLI pre-installed.

License:MIT License


Languages

Language:Shell 100.0%