Woocker now supports running multiple isolated WordPress instances simultaneously.
Use the woocker CLI to create a new instance. You can specify PHP, WordPress, and WooCommerce versions.
./woocker create my-store --php 8.1 --wp 6.4 --woo 8.5.2This will:
- Create a new directory in
instances/my-store - Assign unique ports (HTTP, HTTPS, PMA)
- Configure the environment
./woocker start my-storeRun the initialization script to install WordPress, WooCommerce, and sample data:
./woocker init my-storeSee all created instances and their assigned ports:
./woocker listTo delete an instance and all its data:
./woocker remove my-storePlace your custom plugins in the plugins/ directory. They will be available in all instances under wp-content/plugins/shared-plugins/.
./woocker stop my-storeThe setup.sh script is deprecated. Please use woocker create instead.