I have been using VVV as my local development environment for quite some time, and while it’s an awesome tool, I’ve been itching to try something a little lighter weight, and to have the ability to tailor it a little more to my own workflow. I have been intrigued by Docker ever since it started gaining popularity, and I finally found the time to start playing with it.
wpdocker is the result of my experimentation in building a local WordPress development stack in Docker. It’s not only a set of Docker containers which make up the local environment, but also a couple of Bash scripts which handle things like starting and stopping the stack, creating and deleting WordPress installs, updating the host system’s hosts file, and running WP-CLI commands.
I started using this as my primary development environment this week, moving over all my local WordPress installs from VVV. While there are still some rough edges, it has been stable, and I’m going to be using it as my local development environment full-time going forward.
Check it out at https://github.com/philipnewcomer/wpdocker.
Keep in mind that this is very much a beta release; this has not been extensively tested and there are still some rough edges. However, it is usable, and I look forward to improving it over time.