October 2018
Beginner to intermediate
348 pages
10h
English
To create a database locally, along with other monitoring components, there are two options. Either pull the image directly from the Docker Hub, or build locally from the source. The following are the steps for both ways:
# Pull from dockerhubdocker pull malepati/cassandra-spark-jupyter:latest# Build from source# Clone git repo https://github.com/malepati/bookgit clone git@github.com:malepati/book.gitcd book/MasteringApacheCassandra3rdEdition/dockerdocker build -t malepati/cassandra-spark-jupyter:latest cassandra-spark-jupyter/.# Running docker container locallydocker run \--name demo \--hostname 'csapp1-0' \-p 3000:3000 \-p 7199:7199 \-p 8086:8086 \-p 9042:9042 \-e 'MONITOR=true' ...