Shortly after publishing my last post about how to use Docker to install WordPress and MySQL, I happened to watch a video showing basically the same process:
The speaker walks through the steps you need to do to create the docker-compose.yml file I referenced in that last post.
As I wrote over on my Disruptive Conversations site, I’ve been playing around with using Docker as a way to easily test new WordPress versions and plugins. As part of that testing, I was trying to use the official WordPress image found on Dockerhub.
However, I was struggling with getting started, because the WordPress container is just… WordPress. It also needs a database to work, and my Docker experience was not yet strong enough to sort out how to link various containers together. So I raised an issue on Github asking about a step-by-step tutorial.
Github user wglambert very kindly provided a simple
docker-compose.yaml file that could launch both WordPress and MySQL in separate containers and set up the necessary network and links.
It works wonderfully! And it has now been added to the instructions on DockerHub. (Thank you to the DockerHub admins for merging it in.)
Because I want to easily use the file on different systems, I put it up in a Github repo:
Any of you are welcome to use it, too!
As I noted in my Disruptive Conversations article, I’m planning to start writing here a good bit more about using Docker. I’m rather impressed by all that can be done – and want to capture my own experiments here for my own future knowledge… and if it helps any of you all out, too, all the better!
In addition to being where I write about programming and other developer topics, this site is also where I test out new WordPress releases before installing them on other sites like the Voxeo blog portal or the Voice of VOIPSA site. This site runs on a WordPress Multi-Site installation, although there aren’t many sites here (another one is my new IPv6 book).
This past week I installed WordPress 3.2 (followed by the 3.2.1 bug fix) and I have to say I am quite impressed with the back-end changes described in the announcement. Some of them are just minor little nuances… the changes in the typography, even… it just feels snappier and faster. If you run a blog on top of WordPress, I have to say that 3.2 is definitely worth a look… I’m loving it!
I love being surprised… did you know that the Federal Communications Commission (FCC) is making code available as open source over on Github? And that FCC staffers have released a WordPress plugin?
I discovered this via a tweet from someone that brought me to the “Official FCC Blog” and the July 6th post, “Contributing Code Back: FCC.gov’s Open-Source Feedback Loop,” that outlines many of the contributions they have been making.
As a long-time open source advocate, I’m thrilled to see the FCC doing this. It’s great to see them on Github – and it’s great to see them giving back to the WordPress ecosystem.
And I love that they end the post asking readers to fork their code and contribute changes back!
Great to see – and kudos to the FCC “new media” team for getting involved in this way.