diff --git a/share/updateall/scripts.d/docker b/share/updateall/scripts.d/docker index f51b557..efd4468 100755 --- a/share/updateall/scripts.d/docker +++ b/share/updateall/scripts.d/docker @@ -1,4 +1,4 @@ #!/bin/sh -[ "$(whoami)" != root ] && exec "$0" "$@" +[ "$(whoami)" != root ] && exec sudo "$0" "$@" docker images --format '{{.Repository}}' | xargs -L 1 docker pull