Docker context
Docker Context
A single Docker CLI can have multiple contexts. Each context contains all of the endpoint and security information required to manage a different cloud environment, Swarm nodes, or Kubernetes nodes. The docker context command makes it easy to configure these contexts and switch between them.
List all docker contexts
docker context lsCreate a docker context
docker context create [context-type] [context-name]*** context type such as aci, ecs, or leave blank for context-type for Swarm or Kubernetes nodes
Use a docker context
docker context use [context-name]Remove a docker context
docker context rm [context-name]References: