docker-context
Switch between contexts to manage multiple Docker environments. tldr-pages
On several platforms
Several platforms
Create a context using a specific Docker endpoint
docker context create context_name --docker "host=tcp://remote-host:2375"Identify--dockerset the docker endpoint Docker CLI referenceCreate a context based on the $DOCKER_HOST environment variable
docker context create context_nameIdentifySwitch to a context
docker context use context_nameIdentifyList all contexts
docker context lsIdentify