Skip to content

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

Notifications You must be signed in to change notification settings

tboy-hacker/whale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages