🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Easy aliases for CLI and shell with Docker!
Aaron
Member, Administrator, Moderator, Employee Posts: 644 admin
Are you tired of typing docker exec -it solaceXYZ cli
every time you log into CLI? I know I am! Try adding these aliases to your .bash_alias
(or whatever) file:
alias cli='docker ps | grep solace-pubsub | head -1 | cut -c1-8 | xargs -I id -o docker exec -it id cli' alias shell='docker ps | grep solace-pubsub | head -1 | cut -c1-8 | xargs -I id -o docker exec -it id bash'
Then cli
goes straight into CLI for your "first" broker (if you have multiple), and shell
goes into the control-plane support shell.
So much easier! 🙌🏼
0