Skip to content

Instantly share code, notes, and snippets.

@ChrisSwanson
Created May 28, 2016 21:14
Show Gist options
  • Save ChrisSwanson/083d0d829f96cc0d27383c19ac2e9a25 to your computer and use it in GitHub Desktop.
Save ChrisSwanson/083d0d829f96cc0d27383c19ac2e9a25 to your computer and use it in GitHub Desktop.
Upgrade all local docker containers to latest.
for container in $(docker images | awk '{ print $1 }' | grep -v 'REPOSITORY'); do docker pull $container; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment