Created
February 7, 2024 03:26
-
-
Save apeckham/b848c1b584f34accd93c6212a6f318b3 to your computer and use it in GitHub Desktop.
runlike all containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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