Hauler Logout
Overview​
hauler logout removes saved credentials for an OCI-compliant registry from the Docker config at ~/.docker/config.json.
It's the counterpart to hauler login - use it to clear stored credentials when you're done, when rotating secrets, or on shared/CI machines where leaving an authenticated session behind would be a risk.
An example with available flags...
hauler logout <registry-url>
Command Overview​
Usage:
hauler logout [SERVER] [flags]
Examples:
# Log out of reg.example.com
hauler logout reg.example.com
Flags:
-h, --help help for logout
Global Flags:
--audit-level string Set the audit logging level (none, standard, verbose) (defaults standard)
-d, --haulerdir string Set the location of the hauler directory (default $HOME/.hauler)
--ignore-errors Warn and continue instead of failing on errors, including storing images that failed verification (defaults false)
-l, --log-level string Set the logging level (i.e. info, debug, warn) (defaults info)
-w, --work-dir string (Optional) Set the directory for output that commands would otherwise write to the current directory (default: current directory)