Re:Talk of a Split from Docker
by bryanlarsen on Tuesday August 30, 2016 @03:04PM
(#12392924)
That's a reason why Docker is great for production deployment. If you don't use Docker for production your production deployment scripts have to deal with that.
But if you use your production deployment scripts for development deployments, then that problem has been dealt with one way or another.
Deployment of a container to a node is roughly an atomic transaction. If it fails due to a network partition or server crash etc. The container can just be deployed again to the node again. By comparison, a partially executed provisioning script can leave the target node in an arbitrary state and what needs to happen next to bring the node online depends on when and how the deployment script failed as well as the nature of any partial deployment...and whatever state the server was in prior to deployment.