Sign inSign up

mikewright/cqlsh

By mikewright

Updated about 10 years ago

A command line tool that can be used with docker to work with cqlsh.

Image
1

100K+

mikewright/cqlsh repository overview

Docker CQLSH

This is a simple repository that contains the Dockerfile and code for creating a docker image that has the cqlsh command.

You can use this container to connect to a cassandra cluster using the below command:

    docker run -it --rm mikewright/cqlsh <cassandra-host>

Bash script for command line

This script below is something that you can use to add to your path that will allow you to basically have cqlsh running on any machine that has docker without the need to install python, pip, etc.

    #!/usr/bin/env bash
    # vim: ft=sh:
    DOCKER_CQLSH_IMAGE=mikewright/cqlsh:5.0.3 
    DOCKER_COMMAND="docker run -it --rm -v $PWD:/code -w /code $DOCKER_CQLSH_IMAGE "
    $DOCKER_COMMAND $@

Tag summary

Content type

Image

Digest

Size

308.7 MB

Last updated

about 10 years ago

docker pull mikewright/cqlsh