This repository contains a Bash script that automates the installation of Docker and Docker Compose on Linux. The script installs the latest versions of Docker and Docker Compose along with their necessary dependencies.
To use the script, follow these steps:
-
Install Git: If you don't have Git installed, run the following command to install it:
sudo apt install git
-
Clone the repository: Run the following command to clone this repository:
git clone https://github.com/Superriot/docker-auto-install-script
-
Change to the repository directory:
cd docker-auto-install-script
-
Make the installation script executable:
sudo chmod +x install-docker.sh
-
Run the installation script:
bash ./install-docker.sh
-
Follow the prompts and enter your password when prompted. The script will automatically install Docker and Docker Compose on your Linux system.
Done! Docker and Docker Compose have been installed successfully. Have a nice day!