Skip to content

Instantly share code, notes, and snippets.

@audstanley
Last active December 23, 2021 04:31
Show Gist options
  • Save audstanley/7f102ab6c09b007aed6c91954ab0239b to your computer and use it in GitHub Desktop.
Save audstanley/7f102ab6c09b007aed6c91954ab0239b to your computer and use it in GitHub Desktop.
relaunch a Kafka Pod once docker compose has changed
#!/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