Container deployment
Multiple container technologies are available, but Docker is the most popular one, so I will focus my examples on that (the concepts apply to other container systems too).
When you build a container, you have to think about it as an application with all the dependencies included. It is possible to include multiple applications in a container, but it is a common consensus that the good practice is to include only one application per container. That means you don’t need any configuration, such as systemd or any other process manager. When you run the container, you are running the application.
Whenever we want to build a container, we need to define a Dockerfile. A Dockerfile is a file containing the instructions to create an image that will be used to run the container. An image is the blueprint of your container, defining what is in the filesystem, what to execute, and so on. The file starts with a base image, adding modifications, installing the...