install_docker

Function install_docker 

Source
pub fn install_docker() -> Result<(), Box<dyn Error>>
Expand description

Installs Docker on the system.

This function installs Docker using the appropriate method for the current Linux distribution. It adds the Docker repository, installs necessary dependencies, and installs Docker components.

ยงReturns

Returns Ok(()) if Docker is installed successfully, or an error if installation fails.