dotfiles/share/updateall/scripts.d/docker

4 lines
115 B
Bash
Executable file

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