Tool

Get Notification: Monitor Your Docker Image Sizing

With Docker deployment, smaller images are usually better.

But your docker images will keep changing. And you just don’t remember to check it for a while. Then someday you happen to find out some huge images in your deployment pipeline. Feel uncomfortable, don’t you? Any thoughts about how to improve it?

My answer is like always: Monitor That! And Get Slack notifications.

Enclosed is my approach. Check it out! And discuss with me, my friends.

Get Notifcation: Monitor Your Docker Image Sizing


(more…)

8 Lessons Learned Using docker-compose

Nowadays when people setup and configure services, probably nobody will enjoy doing it in a manual way.

Here comes a new question. How do you automate the process, and make it fast and reliable?

Wrap up some ssh scripts? Leverage CM(configuration management tools) like chef, ansible, or pupet? Use docker run? It’s great that we now have many options. But, as you may guess, not all of them are equally good.

You want a headache-free solution, right? And you also want it real quick, do you? Then You Can Not Miss docker-compose! Here are some useful tips and lessons learned using docker-compose.

8 Lessons Learned Using docker-compose


(more…)

Run GUI Test With Docker: Detect Web Page Loading Issues

How fast your web pages load on client sides, especially the portal or login pages? And how do you detect unexpected 302, 404 or 5XX responses. It would probably hurt your user experience or even the functionalities. Slow or problematic page loading are always bad.

Good, if you have examined that carefully. And most likely, with multiple unpleasant manual steps. The thing is how can you be so sure that it’s always good. Even with the endless code changes.

To automate the GUI test? You have to learn lots of GUI automation skills, and the complicated setup. Yes, I certainly believe you are capable for this, my friend. But you might not have enough time.

Good news! With container technology, things are way much easier now. Check out this short post. And have a try now!

Use Docker To Run GUI Test: Detect Web Page Loading Issues


(more…)

Avoid Using Same SSH Private Key For All Your Servers

The more projects you handle, the more servers you manage. But when you ssh to servers of different projects, are you using the same private key?
And how secured you feel about this? Let’s imagine. One day, your powerful private key gets compromised somehow. Boom! All your servers, and all your projects are in danger.

Check out this post. And get improved for all your projects, in just five minutes!

Avoid Using Same SSH Private Key For All Your Servers


(more…)