Skip to content

Instantly share code, notes, and snippets.

@vincentfretin
Created August 17, 2015 12:30
Show Gist options
  • Save vincentfretin/06fe367116abe68d90ec to your computer and use it in GitHub Desktop.
Save vincentfretin/06fe367116abe68d90ec to your computer and use it in GitHub Desktop.
script to check all your ubuntu(debootstrap):14.04 containers for updates, uses https://github.com/mafr/docker-update-check
./update-check run
./update-check update
for container in `docker ps -q`; do
./update-check check $container
docker inspect --format '{{.Name}}' $container
done
@vincentfretin
Copy link
Author

@mafr Example to show the container name with docker inspect for each container. Maybe you can do a "./update-check all" command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment