Function server_forge::containerization::configure_docker

source ·
pub fn configure_docker() -> Result<(), Box<dyn Error>>
Expand description

Configures Docker after installation.

This function sets up the Docker daemon with optimal settings, creates a Docker group, adds the current user to the Docker group, and restarts the Docker service to apply changes.

§Returns

Returns Ok(()) if Docker is configured successfully, or an error if configuration fails.