How to configure an Android development environment with docker containers

On OSX, a docker stack is a bit like an onion. There are a couple of layers between you and your docker container. Boot2Docker is a great little utility that installs all the different layers for us. As a quick overview, from the outside in we have:


This is a companion discussion topic for the original entry at https://reprage.com/post/configure-android-development-environment-with-docker