#docker #layer #bisect #command #different #output #docker-image

bin+lib docker-bisect

Runs a command against different layers of an image to identify which layers cause the output of the command to be different

1 unstable release

0.1.0 Dec 30, 2018

#9 in #bisect

Unlicense OR MIT

24KB
575 lines

docker-bisect

Build status

docker-bisect is inspired by git-bisect.

The tool will inspect the layers that make up a docker image. For each layer it will run the same command. It reports which layers caused the command to have a different output.

Usage

docker-bisect 0.1
Run a command against image layers, find which layers change the output.

USAGE:
    docker-bisect [FLAGS] <image_name> <command>...

FLAGS:
    -h, --help        Prints help information
    -t, --timeout     Number of seconds to run each command for
        --truncate    Number of chars to truncate to (default is term width)
    -V, --version     Prints version information

ARGS:
    <image_name>    Docker image name or id to use
    <command>...    Command and args to call in the container

License

Public Domain: You can use Unlicense or MIT.

Dependencies

~15–27MB
~451K SLoC