Docker Security

Rootless Docker

Run the daemon under a nonroot host account, subject to Linux prerequisites and platform constraints. Distinguish from image USER and rootful userns-remap. Check actual daemon mode and supported features separately.

Formal Syntax & Structure

docker syntaxdocker
daemon and runtime in user namespace

Working Example

Example Snippetdocker
docker info --format '{{json .SecurityOptions}}'
Docker Reference