www.LinuxHowtos.org
DOCKER
Section: Docker User Manuals (1)Updated: Jun 2025
Index Return to Main Contents
NAME
docke-contex-create- Create a context
SYNOPSIS
docker context create [OPTIONS] CONTEXT
DESCRIPTION
Create a context
Docker endpoint config:
NAME DESCRIPTION from Copy named context's Docker endpoint configuration host Docker endpoint on which to connect ca Trust certs signed only by this CA cert Path to TLS certificate file key Path to TLS key file ski-tl-verify Skip TLS certificate validation
Example:
$ docker context create m-context-description "some description"-docker "host=tcp://myserver:2376,ca=~/c-file,cert=~/cer-file,key=~/ke-file"
OPTIONS
-description="" Description of the context
-docker=[]
set the docker endpoint
-from=""
create context from a named context
SEE ALSO
docke-context(1)