O'Reilly logo

Build Your Own PaaS with Docker by Oskar Hane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Moving from the defaults

Now we have a default installation of WordPress run on Apache2. Some WordPress plugins require you to make changes to the web server's configuration. How can we do that? What if we want to edit some of the files in the WordPress directory?

The first thing we need to do is to get our own copy of the official WordPress repository so that we can explore the Dockerfile. The current URL that is used to get the repository is https://github.com/docker-library/wordpress. Click on this link from the WordPress repo page on the Docker Registry Hub.

You can clone, fork, or just download the source for this Docker image. It doesn't matter how you get it because we're not going to use it later on. This image is for testing and exploring ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required