Skip to content

Instantly share code, notes, and snippets.

View steveydevey's full-sized avatar
💃
Fancy Dancing

Steve Newsted steveydevey

💃
Fancy Dancing
View GitHub Profile
@steveydevey
steveydevey / docker-super-update.sh
Created February 4, 2022 21:18
update docker images, then containers, then prune
# just a handy way to do this since I always forget
# first update all the images:
docker images | grep -v REPOSITORY | awk '{print $1}'| sort | uniq | xargs -L1 docker pull
# then run the docker-compose update command:
docker-compose -f ~/docker-compose.yaml up -d --remove-orphans
# then prune old images
docker image prune -a

Keybase proof

I hereby claim:

  • I am steveydevey on github.

  • I am steveydevey (https://keybase.io/steveydevey) on keybase.

  • I have a public key ASBggr-3rUQX3HoY5YM-eNmD5YJ-4wQb9SceeMwsgqXbxAo