Crate docker_bisect

Source
Expand description

§docker-bisect

docker-bisect create assumes that the docker daemon is running and that you have a docker image with cached layers to probe.

Structs§

BisectOptions
Struct to hold parameters.
Layer
A layer in a docker image. (A layer is a set of files changed due to the previous command).
LayerResult
The stderr/stdout of running the command on a container made of this layer (on top of all earlier layers). If command hit the timeout the result may be truncated or empty.
Transition
A Transition is the LayerResult of running the command on the lower layer and of running the command on the higher layer. No-op transitions are not recorded.

Functions§

truncate
Truncates a string to a single line with a max width and removes docker prefixes.
try_bisect
Create containers based on layers and run command_line against them. Result is the differences in std out and std err.