An open API service indexing awesome lists of open source software.

https://github.com/gilescope/docker-bisect

Like git-bisect, but running a command on an image's layers.
https://github.com/gilescope/docker-bisect

bisect docker docker-images-command

Last synced: about 1 year ago
JSON representation

Like git-bisect, but running a command on an image's layers.

Awesome Lists containing this project

README

          

# docker-bisect

[![Build status](https://ci.appveyor.com/api/projects/status/8af521nx5s7u14v3/branch/master?svg=true)](https://ci.appveyor.com/project/gilescope/docker-bisect/branch/master)

docker-bisect is inspired by [git-bisect](https://git-scm.com/docs/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.

## Install

`cargo install docker-bisect`

## Usage

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

USAGE:
docker-bisect [FLAGS] ...

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:
Docker image name or id to use
... Command and args to call in the container
```

## License

Public Domain: You can use Unlicense or MIT.