A collection of POSIX compatible shell scripts as additions to a Docker based development environment.
Builds images for each Dockerfile found recursively in the current directory.
Also accepts Dockerfiles and directories to search for as arguments.
./docker-build-images.sh [Dockerfile|directory] [...]
Tags images based on git branch names, with master
being tagged as latest
.
Resolves image dependencies for images in the same project.
Updates hostnames for the docker host IP or 127.0.0.1
in /etc/hosts
.
./docker-hostnames.sh [-d] [config_file_1] [config_file_2] [...]
Removes dangling docker images.
./docker-image-cleanup.sh
Checks if a given docker image exists.
./docker-image-exists.sh image[:tag]
Adds a bridged network adapter to a VirtualBox docker machine.
./docker-machine-bridge.sh [-i network_adapter] [-d] [machine]
Released under the MIT license.