I can see how that would work for stateless services. Just build a new image and discard the old one.<p>But what do you do when you want to change my MySQL config file? Create a new image and somehow transfer the data? Or are the datastores somehow externalized? Then how do you synchronize shutting down the old image, then starting the new updated one, preventing them from accessing the store at the same time?<p>The linked article kind of waves these issues away (&#x27;externalize state in Cassandra or RDS&#x27;). Then am I supposed to use two mechanisms&#x2F;tools to run my infrastructure? Docker for stateless servers and something like Ansible for stateful servers?