Skip to content

Instantly share code, notes, and snippets.

@ddpruitt
Forked from DanielTheCoder/docker-pull-images.ps1
Created October 17, 2023 12:41
Show Gist options
  • Save ddpruitt/002e05f60557fc9f267ed9844e0f0620 to your computer and use it in GitHub Desktop.
Save ddpruitt/002e05f60557fc9f267ed9844e0f0620 to your computer and use it in GitHub Desktop.
Docker update all images using PowerShell
# Pull all images based on https://gist.github.com/gte445e/85119eb6e93bd46fb2bbd3e3a362ce68
docker images --format "{{.Repository}}" | Where-Object {$_ -ne "<none>"} | %{Write-Host "Pulling image: $_ ..."; docker pull $_}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment