docker-context-create(1)

docker-context-create1

Create a context

Usage

docker context create [OPTIONS] CONTEXT

Overview

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

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From docker 1:29.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.