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.
- Host: GitHub
- URL: https://github.com/gilescope/docker-bisect
- Owner: gilescope
- Created: 2018-12-04T21:16:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T23:07:45.000Z (over 7 years ago)
- Last Synced: 2025-04-04T08:04:22.848Z (about 1 year ago)
- Topics: bisect, docker, docker-images-command
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-bisect
[](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.