Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Docker and Docker Compose Installation Script

This script automates the installation of Docker and Docker Compose on various Linux distributions including Ubuntu, Debian, CentOS, and Fedora.

Features

  • Detects the Linux distribution and installs the appropriate Docker packages.
  • Installs Docker Compose.
  • Adds the current user to the Docker group.

Supported Distributions

  • Ubuntu
  • Debian
  • CentOS
  • Fedora

Prerequisites

  • The script must be run with root or sudo privileges.

Usage

  1. Save the script to a file, e.g., whale.sh.
  2. Make the script executable:
    chmod +x whale.sh
  3. Run the script:
    sudo ./whale.sh

After running the script, log out and log back in to apply the Docker group changes.

About

This script automates the installation of Docker and Docker Compose on various Linux distributions including Ubuntu, Debian, CentOS, and Fedora.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages