O'Reilly logo

Orchestrating Docker by Shrikrishna Holla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Injecting processes into containers with the Docker execute command

During the course of your explorations of Docker, you may have wondered whether the single command per container rule enforced by Docker is limiting its capabilities. In fact, you might be forgiven for assuming that a Docker container runs only a single process. But no! A container can run any number of processes, but can only start with one command and the container lives as long as the process associated with the command does. This restriction has been enforced because Docker believes in the philosophy of one app per container. Instead of loading everything in a single container, a typical Docker-reliant application architecture will consist of multiple containers, each running ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required