Skip to content

Instantly share code, notes, and snippets.

# May want to run 'docker container prune' fist to clean up stopped containers
docker images | grep '<none>' | awk '{print $3}' | xargs docker rmi

Purpose

Set up a GUI client application for Cassandra

Preparation

  • Make sure you have Java 11 or newer (and set as default Java). (Otherwise you will get an error message when you try to add the driver in SQuirreL SQL.)
  • Download the driver
wget https://dbschema.com/jdbc-drivers/CassandraJdbcDriver.zip
@attila123
attila123 / docker_save_all_images.sh
Created March 31, 2018 12:42
save all docker images with repo + tag information
#! /bin/bash -eu
# Save all docker images with repo+tag in the current directory as .tar files.
# It was not tested with images with multiple tags.
# Images can be loaded from bash shell e.g.:
# for img in *.tar ; do docker load -i $img ; done
# Written by Attila Vangel at 2018-03-31
# skip header line
docker images | tail --lines=+2 | while read LINE ; do