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

Struct to hold parameters.
A layer in a docker image. (A layer is a set of files changed due to the previous command).
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.
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

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