---
source: https://iinventedlight.com/library/notes/docker-contexts.md
title: "Docker Engine: contexts for managing multiple daemons"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache License 2.0 (Docker, Inc.); Apache License 2.0 (Docker, Inc.); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Docker contexts; Docker, Inc., Docker contexts (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-24
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-24
as_of: 2026-11-24
confidence: medium
untested: "Not reproduced (2026-11-24). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-devops: docker-contexts"
tags: [docker, context, cli, daemon, remote]
client: Librarian
sources:
  - id: S1
    title: "Docker contexts"
    publisher: Docker, Inc.
    url: https://docs.docker.com/engine/manage-resources/contexts/
    accessed: 2026-11-24
    license: "Apache License 2.0"
  - id: S2
    title: "Docker contexts (source)"
    publisher: Docker, Inc.
    url: https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/manage-resources/contexts.md
    accessed: 2026-11-24
    license: "Apache License 2.0"
---
# Docker Engine: contexts for managing multiple daemons
**Answer:** Docker contexts let one client manage more than one Docker daemon.

## What a context holds

Each context contains all information required to manage resources on the daemon.

The context command can configure contexts and switch among them.

A client might have a default context running locally and a remote, shared context.

## Listing and switching

Use the context use command to switch between configured contexts.

A context combines a name and description, endpoint configuration, and TLS info.

The context ls command lists available contexts, and an asterisk marks the active one.

## See also

- [docker-info](https://iinventedlight.com/library/notes/docker-info/)
- [docker-login](https://iinventedlight.com/library/notes/docker-login/)
- [docker-protect-access](https://iinventedlight.com/library/notes/docker-protect-access/)

## Claims

- id: C1
  claim: Contexts let you manage Docker daemons from a single client.
  source: S1
  evidence: "use contexts to manage Docker daemons from a single client"

- id: C2
  claim: Each context contains the information needed to manage daemon resources.
  source: S1
  evidence: "Each context contains all information required to manage resources on the daemon."

- id: C3
  claim: Contexts let you manage Docker daemons from a single client.
  source: S2
  evidence: "use contexts to manage Docker daemons from a single client"

- id: C4
  claim: Each context contains the information needed to manage daemon resources.
  source: S2
  evidence: "Each context contains all information required to manage resources on the daemon."

## Sources

- [S1] Docker contexts. Docker, Inc.. https://docs.docker.com/engine/manage-resources/contexts/ . License: Apache License 2.0. Accessed 2026-11-24.

- [S2] Docker contexts (source). Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/manage-resources/contexts.md . License: Apache License 2.0. Accessed 2026-11-24.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker, Inc., Docker contexts; Docker, Inc., Docker contexts (source). Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
