Skip to content

Instantly share code, notes, and snippets.

@f9n
Last active September 30, 2019 13:36
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 f9n/6d4564d02c323f4df5ecd4928428b15e to your computer and use it in GitHub Desktop.
Save f9n/6d4564d02c323f4df5ecd4928428b15e to your computer and use it in GitHub Desktop.
Erlang Cookie Generator for Rabbitmq
@f9n
Copy link
Author

f9n commented Sep 30, 2019

Erlang Cookie Generator Alias

alias erlang-cookie-generator="docker run -d --name some-rabbit rabbitmq:3.7.18 > /dev/null; sleep 5; docker exec -it some-rabbit cat /var/lib/rabbitmq/.erlang.cookie 2> /dev/null; echo; docker container rm some-rabbit -f > /dev/null"
$ erlang-cookie-generator
IDFRSSJFXFMWMBATZTZP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment