Skip to content

Instantly share code, notes, and snippets.

@zmstone
Last active October 7, 2023 16:15
Show Gist options
  • Save zmstone/03503ec4f8617a8a88477aacbaa43a77 to your computer and use it in GitHub Desktop.
Save zmstone/03503ec4f8617a8a88477aacbaa43a77 to your computer and use it in GitHub Desktop.
start emqx erlang distribution on ipv6
env EMQX_CLUSTER__PROTO_DIST=inet6_tcp EMQX_NODE__NAME=emqx@ipv6.local.host bin/emqx console
# starting from emqx v5.3.1
docker network create --ipv6 --subnet 2001:0DB8::/112 ip6net
docker run --rm --network ip6net -it --name n1.ip6.net -e EMQX_NODE__NAME="emqx@n1.ip6.net" -e EMQX_RPC__LISTEN_ADDRESS="::" -e EMQX_CLUSTER__PROTO_DIST=inet6_tcp docker.io/emqx/emqx:5.3.0-g2b040472 emqx console
docker run --rm --network ip6net -it --name n2.ip6.net -e EMQX_NODE__NAME="emqx@n2.ip6.net" -e EMQX_RPC__LISTEN_ADDRESS="::" -e EMQX_CLUSTER__PROTO_DIST=inet6_tcp docker.io/emqx/emqx:5.3.0-g2b040472 emqx console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment