Containerization has been one of the most talk about topics in the digital world. It enabled a whole new paradigm shift in getting software to run reliability when moving from one environment to another.
I have the privilege to run 2 docker workshops in SPH as I managed to set up docker running zaobao.com locally on my PC. It has been an amazing experience.
The first docker workshop was held on 19th October 2018, with 23 people attending. We went through what is containerization and its difference with virtual machines. Then we have exercises on docker command, docker-compose.yml and set up a completely new drupal website from scratch. And we have great food at the end!
I also demonstrated that it was possible to run zaobao and zaobao.sg on the same container with the help of traefik on localhost.
The objective of the part 1 familiarisation was to prepare for the docker workshop 2. In that workshop, we got the participants to run their actual drupal sites. Yes, actual BT, ST, BH sites on our laptops and the same docker images can be deployed to Staging and Production servers on Amazon Web Services with the help of ECS.
On 2nd November 2018, I ran the second docker workshop. Before that day, I did nag the developers to get their production code and database of their drupal sites so that they can get the best value out of their workshop. On that day, they did bring their stuff, except we have an unexpected guest:
Despite the set back, we were still able to achieve our objectives. Swee Hock was able to get ST dockerized locally and present to us all. BT and TNP were able to be dockerized as well during the workshop.
What’s next?
We will be looking into using docker for running scripts. And we will also be looking to creating our very own Dockerfile for our various tech uses and upload the images to ECR.
Also we will be looking at how to use containerization to push the latest production database to developers without compromising security so as they have the latest data to work on.
Special thanks to Ken for coaching me on events planning, Niro and Hector for being Technical Assistants for my workshops!