Trying to install docker and receiving errorr

Hi Team,
Trying the docker in play ground under linux https://kodekloud.com/topic/playground-ubuntu-20-04/ and receiving following error
curl -SSL https://get.docker.com -o get-docker.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs

Hi @kumar.lingam

You are aware that there is a dedicated docker playground where it is preinstalled: https://kodekloud.com/topic/playground-docker/

However, the reason you are getting this error is because the root CA certificates are not installed. You need to follow these steps

sudo -i
apt update
apt install -y ca-certificates apt-utils
update-ca-certificates
curl -SSL https://get.docker.com -o get-docker.sh
chmod +x get-docker.sh
./get-docker.sh