Skip to main content

parse_container_ref

Function parse_container_ref 

Source
pub fn parse_container_ref(binary_path: &str) -> Option<&str>
Expand description

Strip a docker://<ref> or docker:<ref> scheme from a --binary-path value, returning the container reference (name or id). Returns None for ordinary filesystem paths, which are passed through to sslsniff unchanged.