Unable to install docker using the convenience script

hi team,

i am unable to install docker using the convenience script below.
i tried using ubuntu 18 and 20. After hitting command nothing is happening.

pls suggest ?

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh

thanks
anil kumar

Why are you not just using sudo apt install docker?

Unless you need a specific version, it’s usually best to just use your distro’s package manager IMHO.