Docker is an amazing technology and it just simplifies both workflows and communication. Traditionally, the cycle of getting an application from local development to production is a pain and if you want to know “ask the developers”.
Say, you are in verse to setup a startup company.Bringing forth a new idea and deploying a new application into production can take weeks for a complex new system. That’s definitely not an effective approach, not even production though. The gap between Dev and Ops starts to contradict blaming each other at every point of getting the code run on laptop to development environment, from development to production and finally to Cloud.
If you are part of large enterprise, it often requires a lot of effort and communication between teams of people. This process can often be both technically challenging and expensive, but even worse, it can limit the kinds of innovation that development teams will undertake in the future. If deploying software is hard, time-consuming, and requires resources from another team, then developers will often build everything into the existing application in order to avoid suffering the new deployment penalty.
Hence, a typical Deployment workflow looks like:
- Application developers request resources from operations engineers.
- Resources are provisioned and handed over to developers.
- Developers script and tool their deployment.
- Operations engineers and developers tweak the deployment repeatedly.
- Additional application dependencies are discovered by developers.
- Operations engineers work to install the additional requirements.
- Loop over steps 5 and 6 N more times.
- The application is deployed.
With Docker, it becomes quite easier. Let us see that complexity to simplicity diagram:
- Developers build the Docker image and ship it to the registry.
- Operations engineers provide configuration details to the container and provision resources.
- Developers trigger deployment.
Did you know how the simplicity was achieved? The reason is Docker.
Docker allows all of the dependency hell issues to be discovered and fixed during the development and test cycles. By the time the application is ready for first deployment, that work is done. And it usually doesn’t require as many handovers between the development and operations teams. Now that’s magic what Docker brings on the table. Of course, there is a lot of innovative stuffs happening behind the curtain.
~ Source: Docker Up and Running