Skip to content

anamshah/docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker tools

Description

A collection of POSIX compatible shell scripts as additions to a Docker based development environment.

Tools

docker-build-images.sh

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.

docker-hostnames.sh

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] [...]

docker-image-cleanup.sh

Removes dangling docker images.

./docker-image-cleanup.sh

docker-image-exists.sh

Checks if a given docker image exists.

./docker-image-exists.sh image[:tag]

docker-machine-bridge.sh

Adds a bridged network adapter to a VirtualBox docker machine.

./docker-machine-bridge.sh [-i network_adapter] [-d] [machine]

License

Released under the MIT license.

Author

Sebastian Tschan

About

Docker tools

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%