MAN-J
Man PagesPricing
LoginGet Started
docker-context-create(1)
Original
English • 54 lines
DOCKER(1)		      Docker User Manuals		     DOCKER(1)



NAME
       docker-context-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 skip-tls-verify	Skip TLS certificate
       validation


       Example:


       $ docker context create my-context --description "some description"
       --docker "host=tcp://myserver:2376,ca=~/ca-file,cert=~/cert-
       file,key=~/key-file"



OPTIONS
       --description=""	   Description of the context


       --docker=[]    set the docker endpoint


       --from=""      create context from a named context



SEE ALSO
       docker-context(1)

Docker Community		   Sep 2025			     DOCKER(1)

docker-context-create(1)

dockercontextcreate - Create a context

0popularity

System Information

Docker Community 1.0.0
Updated Sep 2025
Maintained by Unknown

Actions