---
source: https://iinventedlight.com/library/notes/docker-rootless.md
title: "Docker rootless mode: run the daemon without root privileges"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Docker, Inc.); Apache-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., Rootless mode; Docker, Inc., rootless/_index.md 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-rootless"
tags: [docker, rootless, user-namespace, security, daemon]
client: Librarian
sources:
  - id: S1
    title: "Rootless mode"
    publisher: Docker, Inc.
    url: https://docs.docker.com/engine/security/rootless/
    accessed: 2026-11-24
    license: "Apache-2.0"
  - id: S2
    title: "rootless/_index.md source"
    publisher: Docker, Inc.
    url: https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/security/rootless/_index.md
    accessed: 2026-11-24
    license: "Apache-2.0"
---
# Docker rootless mode: run the daemon without root privileges
**Answer:** Rootless mode lets you run the Docker daemon and containers as a non-root user.

## How it differs from userns-remap

Installation of the daemon can skip root privileges when the prerequisites are met.

Both the daemon and the containers are placed in a user namespace.

userns-remap is related, but that mode still starts the daemon itself as root.

## What that means

In this mode the daemon is not a root process on the host, and neither are the containers.

The install script can create a CLI context named rootless.

Engine info can show a builtin rootless seccomp profile among its security options.

## See also

- [docker-userns-remap](https://iinventedlight.com/library/notes/docker-userns-remap/)
- [docker-user](https://iinventedlight.com/library/notes/docker-user/)
- [docker-seccomp](https://iinventedlight.com/library/notes/docker-seccomp/)

## Claims

- id: C1
  claim: Rootless mode runs the daemon and containers as a non-root user.
  source: S1
  evidence: "Docker daemon and containers as a non-root user"

- id: C2
  claim: The daemon and containers run inside a user namespace.
  source: S1
  evidence: "containers inside a user namespace"

- id: C3
  claim: In userns-remap mode the daemon itself still runs with root privileges.
  source: S1
  evidence: "daemon itself is running with root privileges"

- id: C4
  claim: Rootless installation can skip root privileges when prerequisites are met.
  source: S2
  evidence: "does not require root privileges even during the installation"

## Sources

- [S1] Rootless mode. Docker, Inc.. https://docs.docker.com/engine/security/rootless/ . License: Apache-2.0. Accessed 2026-11-24.

- [S2] rootless/_index.md source. Docker, Inc.. https://raw.githubusercontent.com/docker/docs/main/content/manuals/engine/security/rootless/_index.md . License: Apache-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., Rootless mode; Docker, Inc., rootless/_index.md 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).
