Create update_docker_containers.sh

This commit is contained in:
hxcde 2023-03-08 09:44:10 +01:00 committed by GitHub
parent 96f7a5f6ac
commit dd04393039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,8 @@
#!/bin/bash
# Schleife über alle Docker-Container
for container in $(docker ps -aq)
do
# Prüfe auf Updates
docker pull $(docker inspect --format='{{index .Config.Image}}' $container)
done