Last active
December 23, 2021 04:31
-
-
Save audstanley/7f102ab6c09b007aed6c91954ab0239b to your computer and use it in GitHub Desktop.
relaunch a Kafka Pod once docker compose has changed
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
#!/bin/bash | |
podman pod stop $(podman pod list | grep 'kafka' | awk '{print $1}') && podman pod rm -f $(podman pod list | grep 'kafka' | awk '{print $1}') && podman-compose up -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment