Hi @Kiran Kumar R - adding following statement to your Docker `daemon.json` conf . . .

Bernd Fischer:
Hi @Kiran Kumar R - adding following statement to your Docker daemon.json config file worked for me:
"exec-opts": ["native.cgroupdriver=systemd"],

Kiran Kumar R:
Thanks @Bernd Fischer it worked .

Kiran Kumar R:
but got new error , i think it is because of using free tier instance it has 1 cpu thats y may be root@ip-172-31-36-51:/etc/docker# kubeadm init --ignore-preflight-errors=...
–ignore-preflight-errors=…: command not found
[init] Using Kubernetes version: v1.21.0
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2
[ERROR Mem]: the system RAM (978 MB) is less than the minimum 1700 MB
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
root@ip-172-31-36-51:/etc/docker#

Kiran Kumar R:
i will try with t2.medium it will work then .