Summary

You may have an impression, that there is a huge flexibility when it comes to running Docker containers. And you are right, definitely there is much we can do. We can override the images RUN, CMD, ENTRYPOINT instructions to change the container run behavior, sometimes even totally change the container's purpose if needed. Docker provides a lot of powerful commands to inspect the container runtime state, viewing logs, events and statistics. They surely make devop's daily job a lot easier. Also, setting the container restart policies and runtime constraints on CPU or memory can result of run-and-forget way of working with Docker containers. If you need your applications to scale easily, there is nothing simpler than bringing a Docker Swarm ...

Get Developing with Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.