So Docker for Mac is out of Beta. If you haven’t switched, I suggest you do. But getting rid of your boot2docker, docker-machine, brew installed docker client, etc… it’s a bit tricky. Most of this info came from therealmarv.com’s post. Here is a condensed set of steps to remove almost everything: # Remove applications sudo rm -rf /Applications/boot2docker sudo rm -rf /Applications/Docker # Uninstall brew stuff brew uninstall docker boot2docker # Make sure to get rid of executables sudo rm -f /usr/local/bin/docker sudo rm -f /usr/local/bin/boot2docker sudo rm -f /usr/local/bin/docker-machine sudo rm -r /usr/local/bin/docker-machine-driver* sudo rm -f /usr/local/bin/docker-compose # Remove boot2docker VBox image sudo rm -rf /usr/local/share/boot2docker # Remove docker packages sudo pkgutil --forget io.
Wanted to show more of the magic that’s going on behind the scenes in Cassandra in a Container on OSX. The domain specific shell here is doing a bit of remembering for you: 1. It is remembering the location of containers in your project directory 2. Finding DockerFiles recursively within that directory and makes them avail. with choose 3. When the container is “run”, av remembers the container-id that was started
Getting Your Laptop Setup Let’s get Cassandra running, using containers to keep the runtime environment similar to what it would be in production. We are focusing on OSX only and will use a few tools that are freely available to make it all work. Install Brew Install CaskRoom brew tap caskroom/cask Install Docker Toolbox but with brew/caskroom brew cask install dockertoolbox Install cqlsh so you can mess with Cassandra brew install python && pip install cql 5.