List available Docker contexts.
Section: Basics
List contexts
bash
bash
docker context lsExplanation
Contexts let you switch between local, remote, or cloud-managed endpoints.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Basics
Show Docker system info
Display engine-wide diagnostic and configuration information.
Login to a registry
Authenticate to a registry such as Docker Hub or a private registry.