Deploying with Docker into production: Zero downtime
问题 Im failing to see how it is possible to achieve zero-downtime deployments with Docker. Let's say I have a PHP container running MyWebApp being served by an Nginx container on the same server. I then change some code, as Docker containers are immutable I have to build/deploy the MyWebApp container again with the code changes. During the time it takes to do this MyWebApp is down for the count... Previously I would use Ansible or similar to do deploy my code, then symlink the new release