Create update_docker_containers.sh
This commit is contained in:
parent
96f7a5f6ac
commit
dd04393039
8
update_docker_containers.sh
Normal file
8
update_docker_containers.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user