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
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.
License: CC-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.
Cite this
iinventedlight. 2026. "Docker rootless mode: run the daemon without root privileges." iinventedlight Library, iil:note:e0dw7b1w, version of 2026-11-24. https://iinventedlight.com/library/notes/docker-rootless/. License: CC-BY-4.0.
@misc{iil_note_e0dw7b1w,
author = {{iinventedlight}},
title = {{Docker rootless mode: run the daemon without root privileges}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-24},
url = {https://iinventedlight.com/library/notes/docker-rootless/},
note = {Permanent ID iil:note:e0dw7b1w. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-rootless.schema.json (schema; CC-BY-4.0)
- docker-rootless.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-rootless.md.