Authenticate EKS cluster nodes with Docker login credential

Hi,

I’m trying to pass in docker login credential into the EKS node so it has node level access by configuring the daemon.json file in
/etc/docker/daemon.json

Is this doable?
I pass in my credential in the following format but it doesn’t seem to work:

  "auths":{
      "https://index.docker.io/v1/":{
         "username":"XXXXX",
         "password":"XXXXXX",
         "email":"XXXXX@gmail.com",
         "auth":"XXXXXXXX"
      }
   }