1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/share/updateall/scripts.d/docker

4 lines
124 B
Text
Executable file

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