Docker
/Intermediate
Container Deployment
Definition
The final stage of the CI/CD pipeline where the newly built Docker Image is pulled from a registry and actually executed as a live Container on a production server.
Explain Like I'm New
Taking the finished, boxed product off the assembly line and putting it on the store shelf for customers to use.
Real World Example
A pipeline finishes building `api:v2` and pushes it to Docker Hub. The final step of the pipeline SSH's into the production AWS EC2 instance, runs `docker pull api:v2`, stops the old `api:v1` container, and starts the new one.
Common Use Cases
- •Continuous Deployment
- •Rolling updates
Interview Questions
basic
- In a standard CI/CD pipeline, does the CI server usually run the production containers itself?
intermediate
- What is a 'Rolling Update' strategy in container deployment?