pub fn build_snapshot_image_name(session_name: &str, attempt: u64) -> StringExpand description
Build the docker image name used to snapshot a container before running a
new command in it. Docker repository names must be lowercase and limited to
[a-z0-9._-], so session names are sanitized.