Created
January 5, 2022 05:07
-
-
Save audstanley/cc7f0fb1157e7abf4f22d8df0ec5460c to your computer and use it in GitHub Desktop.
podman postgres helper for figuring things out
This file contains 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
#!/bin/bash | |
podman stop $(podman ps -a | grep 'postgres' | awk '{print $1}') && podman rm $(podman ps -a | grep 'postgres' | awk '{print $1}') && podman rmi $(podman images | grep 'postgres' | awk '{print $3}') && podman build -t postgres . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment