· min read

Wordpress docker install script

Rigel Kent

I swear I don't use Wordpress anymore - it is a very useful playgroand to teach basic web development though.

A few weeks ago I was looking at wordpress more closely as I was trying to teach a few students at my local university to write wordpress themes. Problem is: they don’t have a LAMP stack, nor know what it is, nor need to know what it is at first.
The beginners’ catch

Web servers. Web servers are painful as hell to consistently maintain on machines you don’t know at all. My students had enough various OSes to give me headaches – which is a good thing, i like variety. But when it comes to teaching newcomers how easy it is to setup a CMS, you need a consistent install indications.

That’s where Docker comes in handy. One container to rule them all, they say. No dependancies, no hassle. run the container and open the page!

Well, I couldn’t tell students to install docker themthelves. So I wrote a script for GNU/Linux for starters:

All you have to do is curl it and execute it straightforward. A useful oneliner.

tutorial docker web source cite share

Cite this article

  title = "Wordpress docker install script",
  author = "Rigel Kent",
  journal = "http://localhost:8080",
  year = "2016",
  url = "http://localhost:8080/blog/wordpress-docker-install-script/"