Function server_forge::containerization::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.