Skip to content

Instantly share code, notes, and snippets.

@apeckham
Created February 7, 2024 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apeckham/b848c1b584f34accd93c6212a6f318b3 to your computer and use it in GitHub Desktop.
Save apeckham/b848c1b584f34accd93c6212a6f318b3 to your computer and use it in GitHub Desktop.
runlike all containers
alias runlike="docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike"
for i in $(sudo docker ps | awk '{print $1}' | tail -n +2); do runlike $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment