Take an Ec2 (ubuntu-linux)instance machine with instance type as t2micro from AWS console
We will first start by installing Docker :
- Update the package database:
-> sudo apt update
2. Download the latest version of Docker, and install it:
-> curl https://get.docker.com/ | sh
3. After installation has completed, start the Docker daemon:
-> sudo systemctl start docker
4. Verify that it’s running:
> systemctl status docker or sudo systemctl status docker(if not login with root user)