Skip to main content

Module state

Module state 

Source
Expand description

Image state tracking for provenance information

Tracks where the current Docker image came from (prebuilt or built) and which registry it was pulled from.

Structs§

ImageState
Image provenance state

Functions§

clear_state
Clear image state (e.g., after image removal)
get_state_path
Get the path to the image state file
load_state
Load image state from disk
save_state
Save image state to disk