Docker login permission denied from private repo

Hi All,

I have few private repository in docker hub and i want to deploy it in my laptop below are the issue im getting when deploying images.

And all images have download but still issue having

root@master-node:/home/mohd/Music/Kuberentes/Kubernetes# kubectl create secret generic testdocker --from-file=.dockerconfigjson=/root/.docker/config.json
The connection to the server was refused - did you specify the right host or port?
 kubectl create secret generic dockerlogin --from-file=.dockerconfigjson=/root/.docker/config.json
error: error reading /root/.docker/config.json: permission denied
Failed to pull image "fxlabs/control-plane:latest": rpc error: code = Unknown desc = Error response from daemon: pull access denied for fxlabs/control-plane, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
 Error: ErrImagePull
 Error: ImagePullBackOff
 Back-off pulling image "imagename"

Please help me how to solve it