Intermediate Docker & Containers
Q77 / 100

What is the purpose of "docker logout" and credential storage when working with private registries?

Correct! Well done.

Incorrect.

The correct answer is B) "docker login" stores registry credentials (often via a credential helper or in a config file) so subsequent pulls/pushes are authenticated automatically; "docker logout" removes these stored credentials for a registry

B

Correct Answer

"docker login" stores registry credentials (often via a credential helper or in a config file) so subsequent pulls/pushes are authenticated automatically; "docker logout" removes these stored credentials for a registry

Explanation

After "docker login", credentials are cached (ideally via a secure credential helper) so future operations against that registry don't require re-authentication; "docker logout" clears those cached credentials.

Progress
77/100