Skip to content

Instantly share code, notes, and snippets.

@ssbarnea
Created October 20, 2020 13:06
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 ssbarnea/7bf22451006e56d46219d07b1dd1b190 to your computer and use it in GitHub Desktop.
Save ssbarnea/7bf22451006e56d46219d07b1dd1b190 to your computer and use it in GitHub Desktop.
podmans
#!/usr/bin/env bash
for REMOTE in ssh://root@leno/run/podman/podman.sock ssh://root@n0/run/podman/podman.sock
do
echo Running podman against ${CONTAINER_HOST}
CONTAINER_HOST=$REMOTE podman --remote ps
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment