I have been created EKS cluster.
Now, I'm trying to create docker image to push it into my private ECR so I just installed docker using the following command:
amazon-linux-extras install docker
The installation succeed but when I'm tried to use docker I got the following:
[cloudshell-user@ip-10-0-73-203 ~]$ docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
When I'm trying to start docker service I got:
[cloudshell-user@ip-10-0-73-203 ~]$ sudo systemctl start docker
Failed to get D-Bus connection: Operation not permitted
How can I solve it? Should I need to use another user?