This project provides a one-click installation script for Docker on Ubuntu-based Linux systems. It automates the process of installing Docker Engine, Docker CLI, and Docker Desktop, making it easy for users to set up Docker on their machines.
- Installs Docker Engine and CLI tools
- Sets up Docker repository and GPG key
- Downloads and installs Docker Desktop
- Automates the entire installation process
- Ubuntu-based Linux distribution
- Sudo privileges
- Internet connection
-
Clone this repository: git clone https://github.com/skibsthebear/docker-install-script.git
-
Navigate to the project directory: cd docker-install-script
-
Make the script executable: chmod +x install_docker.sh
-
Run the script with sudo privileges: sudo ./install_docker.sh
After installation, you can start Docker Desktop from your applications menu or by running: systemctl --user start docker-desktop
To verify the installation, run: docker --version docker-compose --version
Contributions to improve the script or add features are welcome. Maybe we can add in support for different Linux distros and user will get a choice to choose which distro they have and the script will change depending on what they choose.
Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
This script is provided as-is. Always review scripts before running them with sudo privileges. The author is not responsible for any damage caused by the use of this script.