3 ms·
One possible way to go about this is to use your configuration management tool to update your images. Ansible 2.0 offers a Docker connector which you can use to
by Gigablah 11y ago
One possible way to go about this is to use your configuration management tool to update your images. Ansible 2.0 offers a Docker connector which you can use to run a playbook on a container the same way you'd run it on a host.
The playbook tasks would look like:
* Start a new container from the image you want to update
* Using the Docker connector, run your various roles
* Commit the container to a new image
Then you'd push to your registry and redeploy your containers from the updated image.
I suppose there should be something similar for Puppet...