Skip to content

Instantly share code, notes, and snippets.

@txthai
Created February 26, 2017 01:07
Show Gist options
  • Save txthai/c649d20c197190076c77ec5ca47606b4 to your computer and use it in GitHub Desktop.
Save txthai/c649d20c197190076c77ec5ca47606b4 to your computer and use it in GitHub Desktop.
# Create a docker network bridge on each Cassandra node
# Subnets are explicity defined below, but that is not necessary
# CSC1
sudo docker network create --subnet=172.10.1.0/24 --driver bridge isolated_nw
# CSC2
sudo docker network create --subnet=172.10.2.0/24 --driver bridge isolated_nw
# CSC3
sudo docker network create --subnet=172.10.3.0/24 --driver bridge isolated_nw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment