HW3: Wordpress

Hi all,

In this homework, you will need to build a blogging service (wordpress) on your own. Don't sweat tho. It is very easy with docker!

Please first install docker according to the website instructions. After that,

simply run

docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:latest

to start a mysql server. You need a database to store your posts. After that, just run

docker run --name some-wordpress --link some-mysql:mysql -p 8080:80 -d wordpress

to start wordpress.

Note that your wordpress will run on port 8080. You can start it by going to


from your browser.

As usual, please take some screenshots or make a screencast as your homework submission.



P.S. Please note that you may not be able to run docker without sudo even after you have run the usermod command (it is described in the docker installation page, please search usermod in the page if you don't know what I am talking about). You can run docker without sudo only after you logout and re-login.