dotfiles/share/updateall/scripts.d/50-docker

5 lines
124 B
Text
Raw Normal View History

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