1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/share/updateall/scripts.d/50-docker
2023-09-15 10:04:54 +02:00

4 lines
124 B
Text
Executable file

#!/bin/sh
[ "$(whoami)" != root ] && exec sudo "$0" "$@"
docker images --format '{{.Repository}}' | xargs -L 1 docker pull