10 things to avoid in docker containers

So you finally surrendered to containers and discovered that it solves a lot of problems and has a lot of advantages:

  1. First: It’s immutable – The, OS, Library versions, configurations, folders, application is there. You guarantee that the same image tested in QA will arrive land in the production with the same behaviour.
  2. Second: It’s lightweight – The memory footprint of a container is too small. Instead of hundreds or thousands of MBs, it will just allocate the memory for the main process plus some tens of MBs.
  3. Third: It’s fast – You can start a container as fast as a single process takes to start. Instead of minutes, you can start a new container in at most some few seconds.

But many users still treating containers just like typical virtual machines and forget that they also have another great advantage besides many others: It’s disposable

10 things to avoid in docker containers

Advertisements