This repository contains a bash script to automate the installation of Docker CLI on Ubuntu systems. The script ensures a seamless setup process by handling all necessary prerequisites and configurations.
- Updates the system's package database.
- Installs required dependencies.
- Adds Docker's official GPG key.
- Configures Docker's stable repository.
- Installs the Docker CLI.
- Verifies the Docker CLI installation.
- Configure Docker CLI as non root user.
-
Clone this repository or download the script.
-
Make the script executable:
sudo chmod +x install.sh
-
Run the script:
./install.sh
-
Ensure your system's package manager is up to date by running:
sudo apt update && sudo apt upgrade -
If the script encounters an error, try running it with the set -x option for detailed output:
bash -x install.sh
This script is open-source and available under the MIT License.