Managing Docker Container Updates

When running a Debian/Ubuntu-based server, it’s relatively easy to figure out whether updates need to be installed. Tools based on apt work very well in this regard and even offer advanced features like unattended updates. Not so with services running in Docker containers.

When working with Docker, you typically don’t want to log into your containers and run apt or aptitude command lines – instead, you want to find out which of them are eligible for updates without changing their state. Then you re-create the underlying image with updated packages, destroy the running containers and create new containers based on the updated image.

I have started a proof-of-concept implementation for Ubuntu that solves the problem of detecting which containers need updating. You can use this as a starting point to build your own tools.

This entry was posted in linux and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s