Created
August 17, 2015 12:30
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./update-check run | |
./update-check update | |
for container in `docker ps -q`; do | |
./update-check check $container | |
docker inspect --format '{{.Name}}' $container | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mafr Example to show the container name with docker inspect for each container. Maybe you can do a "./update-check all" command?