Skip to content

jayv-tech/Docker-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Easy Docker Setup

This script helps you install the latest version of Docker and Docker Compose in Ubuntu.

Prerequisites

  1. You need to have an Ubuntu/Debian-based machine.

  2. Your instance should have the updated version of 'git' installed. You can check if you have git installed or not by running the command git version and looking at the output.

    git version

    If you do not have git installed, you can use the command sudo apt install git to install the latest version of git in your system.

Initiating the Script

Open Putty or any ssh tool that you use to connect to your instance. Clone this repository to any directory.

git clone https://github.com/Jayavel-S/Docker-Setup and cd into the parent directory cd Docker-Setup

The script to install the latest version of docker and docker-compose is named as install.sh. Run the script with elevated privileges.

sudo sh install.sh

This will pull the latest version of docker according to the platform you are using (x86/x64/ARM) and install the docker-compose relevant to that binary using python.

Reboot the system and check if the installation was successful.

sudo reboot now, and once the machine is back up, run docker version or docker-compose version.

The system has successfully processed the docker installation if it returns the respective version values.

About

A shell script to install docker and docker-compose in debian based systems with python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages