Skip to content

Instantly share code, notes, and snippets.

@MarounMaroun
Created July 19, 2020 16:52
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 MarounMaroun/cec7b19a278a836e39f01587817d3e49 to your computer and use it in GitHub Desktop.
Save MarounMaroun/cec7b19a278a836e39f01587817d3e49 to your computer and use it in GitHub Desktop.
Clear RabbitMQ queues
docker ps -aqf "name=rmq" | xargs -I{} docker exec {} bash -c "rabbitmqctl stop_app ; rabbitmqctl reset ; rabbitmqctl start_app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment