CmdID

CmdID / Commands

docker-context

Switch between contexts to manage multiple Docker environments. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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 reference

Create a context based on the $DOCKER_HOST environment variable

docker context create context_nameIdentify

Switch to a context

docker context use context_nameIdentify

List all contexts

docker context lsIdentify