Installing cassandra on RHEL using docker

I am trying to install cassandra on RHEL-7 from source code using docker.
I have done following steps inside the container:

1 - yum install -y git java-1.8.0-openjdk-devel ant
2- export JAVA_HOME=/usr/lib/jvm/java-1.8.0
3- export PATH=$PATH:$JAVA_HOME/bin
4- export ANT_HOME=/usr/share/ant
5- export PATH=$PATH:$ANT_HOME/bin
6- export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
7 -git clone
8 -cd cassandra && ant

The build is successful. But when I try to start cassandra server inside container I am getting following error:

  • Use domains instead of ports for multiple Docker containers
  • Docker: Add a restart policy to a container that was already created
  • What are Docker image “layers”?
  • Alternatives to debug a docker + gunicorn app in production
  • Host redirection not working boot2docker
  • How to mount a directory inside a docker container on linux host
  • A fatal error has been detected by the Java Runtime Environment:
    Internal Error (cppInterpreter_zero.cpp:812), pid=836, tid=4397984807184
    Error: Unimplemented()

    Any idea?

  • Using a volume with a redmine docker container in Bluemix
  • How do i pass an argument along with docker-compose up
  • using a docker container to build another docker image
  • Mounting file system in docker fails sometimes
  • Docker-compose and pdb
  • Docker image from shared hosting
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.