Role of docker daemon in 'docker login to a registry'

Hi,

The query is that - Does 'docker login -u username -p psw ’ requires docker daemon to be up and running?

In my case, the docker client and docker daemon were on different machines, and docker daemon was not running.

I ran the docker login -u username -p psw < registryaddre> and it executed, and even created entries in config.json

Does this mean that this command does not need docker daemon?

Please help clarify

Regards,ac

You are just using the docker client in this case.