The use of containers makes it possible to overcome the problems of technical environments.
The containers (example: Docker) make it possible to abstract the environments differences.
The deployment process must be agnostic to the environment.
Some components such as databases should not be deployed in containers. Their deployment is still automated.