{
    "api_version": "1",
    "kind": "dse_post",
    "self": "https://update.dsesecurity.com/api/v1/posts/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
    "item": {
        "id": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
        "slug": "plan-host-file-ownership-before-enabling-docker-user-namespace-remapping",
        "url": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
        "alternate_urls": {
            "markdown": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping.md",
            "json": "https://update.dsesecurity.com/api/v1/posts/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/"
        },
        "title": "Plan host-file ownership before enabling Docker user namespace remapping",
        "summary": "Container root can map to an unprivileged host identity while the Docker daemon still runs as root.",
        "format": {
            "slug": "guide",
            "name": "Guide"
        },
        "priority": {
            "slug": "info",
            "name": "Information"
        },
        "featured": false,
        "image": {
            "theme": "network-infrastructure",
            "label": "Networks & infrastructure",
            "alt": "Resilient network core with engineered blue and gold data paths.",
            "card_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-card.webp?v=1.8.20",
            "hero_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-hero.webp?v=1.8.20",
            "social_url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
            "width": 2400,
            "height": 1350
        },
        "topics": [
            {
                "slug": "it",
                "name": "IT",
                "url": "https://update.dsesecurity.com/topic/it/"
            },
            {
                "slug": "networks-infrastructure",
                "name": "Networks & Infrastructure",
                "url": "https://update.dsesecurity.com/topic/networks-infrastructure/"
            }
        ],
        "author": {
            "name": "DSE Security Editorial Team",
            "url": "https://update.dsesecurity.com/#editorial-team",
            "type": "Organization"
        },
        "publisher": {
            "name": "Detection Systems & Engineering",
            "url": "https://dsesecurity.com/"
        },
        "published_at": "2026-10-20T18:15:10+00:00",
        "modified_at": "2026-10-20T18:34:32+00:00",
        "reviewed_on": "2026-10-20",
        "reading_minutes": 2,
        "word_count": 274,
        "potentially_affected": "This concerns Docker daemon user-namespace remapping. It is not the same deployment model as Docker rootless mode and does not eliminate daemon privilege.",
        "dse_recommendation": "DSE recommends recording the subordinate UID and GID ranges and checking every required host path before enabling remapping.",
        "primary_source": {
            "name": "Docker documentation — Isolate containers with a user namespace",
            "url": "https://docs.docker.com/engine/security/userns-remap/",
            "published_on": null,
            "authority": "docs.docker.com"
        },
        "publishing_principles": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
        "usage_info": "https://update.dsesecurity.com/usage/",
        "copyright_notice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
        "content_html": "<p>Container root can map to an unprivileged host identity while the Docker daemon still runs as root.</p>\n<h2>Source facts</h2>\n<p>Docker userns-remap maps container user IDs to subordinate host IDs. This reduces the host privilege of container processes but does not make the daemon rootless. Docker notes that bind-mounted host resources need coordinated permissions for the mapped user. It also warns that enabling remapping changes access to existing Docker objects through a different storage arrangement.</p>\n<p>Source: <a href=\"https://docs.docker.com/engine/security/userns-remap/\">Docker documentation — Isolate containers with a user namespace</a>.</p>\n<h2>Applicability</h2>\n<p>This concerns Docker daemon user-namespace remapping. It is not the same deployment model as Docker rootless mode and does not eliminate daemon privilege.</p>\n<h2>DSE recommendation</h2>\n<p>DSE recommends recording the subordinate UID and GID ranges and checking every required host path before enabling remapping. Avoid solving ownership failures with world-writable permissions. Plan the migration of existing containers, images, and volumes and preserve the original recovery path. Keep mapped identity ranges from colliding with other host allocations. Review backup and restore procedures because restored numeric ownership must still match the intended mapping when the workload returns.</p>\n<h2>Verification</h2>\n<p>In a nonproduction host, inspect effective IDs inside and outside a test container. Verify approved bind-mount reads and writes and confirm unrelated host data remains inaccessible. Recreate and restore a disposable workload under the mapped configuration before applying the migration to production state. Preserve the mapped numeric owner of the restored sample file and compare it with the reviewed UID/GID allocation. Have the host owner approve any permission adjustment instead of accepting a broad mode change just to make the application start.</p>\n<h2>Official reference</h2>\n<p><a href=\"https://docs.docker.com/engine/security/userns-remap/\">Docker documentation — Isolate containers with a user namespace</a>. Reviewed October 20, 2026.</p>",
        "content_text": "Container root can map to an unprivileged host identity while the Docker daemon still runs as root.\nSource facts\nDocker userns-remap maps container user IDs to subordinate host IDs. This reduces the host privilege of container processes but does not make the daemon rootless. Docker notes that bind-mounted host resources need coordinated permissions for the mapped user. It also warns that enabling remapping changes access to existing Docker objects through a different storage arrangement.\nSource: Docker documentation — Isolate containers with a user namespace.\nApplicability\nThis concerns Docker daemon user-namespace remapping. It is not the same deployment model as Docker rootless mode and does not eliminate daemon privilege.\nDSE recommendation\nDSE recommends recording the subordinate UID and GID ranges and checking every required host path before enabling remapping. Avoid solving ownership failures with world-writable permissions. Plan the migration of existing containers, images, and volumes and preserve the original recovery path. Keep mapped identity ranges from colliding with other host allocations. Review backup and restore procedures because restored numeric ownership must still match the intended mapping when the workload returns.\nVerification\nIn a nonproduction host, inspect effective IDs inside and outside a test container. Verify approved bind-mount reads and writes and confirm unrelated host data remains inaccessible. Recreate and restore a disposable workload under the mapped configuration before applying the migration to production state. Preserve the mapped numeric owner of the restored sample file and compare it with the reviewed UID/GID allocation. Have the host owner approve any permission adjustment instead of accepting a broad mode change just to make the application start.\nOfficial reference\nDocker documentation — Isolate containers with a user namespace. Reviewed October 20, 2026.",
        "content_markdown": "Container root can map to an unprivileged host identity while the Docker daemon still runs as root.\n\n## Source facts\n\nDocker userns-remap maps container user IDs to subordinate host IDs. This reduces the host privilege of container processes but does not make the daemon rootless. Docker notes that bind-mounted host resources need coordinated permissions for the mapped user. It also warns that enabling remapping changes access to existing Docker objects through a different storage arrangement.\n\nSource: [Docker documentation — Isolate containers with a user namespace](https://docs.docker.com/engine/security/userns-remap/).\n\n## Applicability\n\nThis concerns Docker daemon user-namespace remapping. It is not the same deployment model as Docker rootless mode and does not eliminate daemon privilege.\n\n## DSE recommendation\n\nDSE recommends recording the subordinate UID and GID ranges and checking every required host path before enabling remapping. Avoid solving ownership failures with world-writable permissions. Plan the migration of existing containers, images, and volumes and preserve the original recovery path. Keep mapped identity ranges from colliding with other host allocations. Review backup and restore procedures because restored numeric ownership must still match the intended mapping when the workload returns.\n\n## Verification\n\nIn a nonproduction host, inspect effective IDs inside and outside a test container. Verify approved bind-mount reads and writes and confirm unrelated host data remains inaccessible. Recreate and restore a disposable workload under the mapped configuration before applying the migration to production state. Preserve the mapped numeric owner of the restored sample file and compare it with the reviewed UID/GID allocation. Have the host owner approve any permission adjustment instead of accepting a broad mode change just to make the application start.\n\n## Official reference\n\n[Docker documentation — Isolate containers with a user namespace](https://docs.docker.com/engine/security/userns-remap/). Reviewed October 20, 2026."
    },
    "json_ld": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://dsesecurity.com/#organization",
                "name": "Detection Systems & Engineering",
                "alternateName": "DSE Security",
                "url": "https://dsesecurity.com/",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://update.dsesecurity.com/assets/dse-logo-20260812.png?v=1.8.20"
                }
            },
            {
                "@type": "Organization",
                "@id": "https://update.dsesecurity.com/#editorial-team",
                "name": "DSE Security Editorial Team",
                "url": "https://update.dsesecurity.com/",
                "parentOrganization": {
                    "@id": "https://dsesecurity.com/#organization"
                }
            },
            {
                "@type": "WebSite",
                "@id": "https://update.dsesecurity.com/#website",
                "name": "DSE Updates",
                "alternateName": "DSE Security Knowledge Hub",
                "url": "https://update.dsesecurity.com/",
                "inLanguage": "en-US",
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "potentialAction": {
                    "@type": "SearchAction",
                    "target": {
                        "@type": "EntryPoint",
                        "urlTemplate": "https://update.dsesecurity.com/?q={search_term_string}"
                    },
                    "query-input": "required name=search_term_string"
                }
            },
            {
                "@type": "WebPage",
                "@id": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
                "url": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
                "isPartOf": {
                    "@id": "https://update.dsesecurity.com/#website"
                },
                "lastReviewed": "2026-10-20"
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/#breadcrumbs",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "DSE Updates",
                        "item": "https://update.dsesecurity.com/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "IT",
                        "item": "https://update.dsesecurity.com/topic/it/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "Plan host-file ownership before enabling Docker user namespace remapping",
                        "item": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/"
                    }
                ]
            },
            {
                "@type": [
                    "Article",
                    "TechArticle"
                ],
                "@id": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/#article",
                "identifier": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
                "url": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/",
                "headline": "Plan host-file ownership before enabling Docker user namespace remapping",
                "description": "Container root can map to an unprivileged host identity while the Docker daemon still runs as root.",
                "abstract": "Container root can map to an unprivileged host identity while the Docker daemon still runs as root.",
                "articleBody": "Container root can map to an unprivileged host identity while the Docker daemon still runs as root.\nSource facts\nDocker userns-remap maps container user IDs to subordinate host IDs. This reduces the host privilege of container processes but does not make the daemon rootless. Docker notes that bind-mounted host resources need coordinated permissions for the mapped user. It also warns that enabling remapping changes access to existing Docker objects through a different storage arrangement.\nSource: Docker documentation — Isolate containers with a user namespace.\nApplicability\nThis concerns Docker daemon user-namespace remapping. It is not the same deployment model as Docker rootless mode and does not eliminate daemon privilege.\nDSE recommendation\nDSE recommends recording the subordinate UID and GID ranges and checking every required host path before enabling remapping. Avoid solving ownership failures with world-writable permissions. Plan the migration of existing containers, images, and volumes and preserve the original recovery path. Keep mapped identity ranges from colliding with other host allocations. Review backup and restore procedures because restored numeric ownership must still match the intended mapping when the workload returns.\nVerification\nIn a nonproduction host, inspect effective IDs inside and outside a test container. Verify approved bind-mount reads and writes and confirm unrelated host data remains inaccessible. Recreate and restore a disposable workload under the mapped configuration before applying the migration to production state. Preserve the mapped numeric owner of the restored sample file and compare it with the reviewed UID/GID allocation. Have the host owner approve any permission adjustment instead of accepting a broad mode change just to make the application start.\nOfficial reference\nDocker documentation — Isolate containers with a user namespace. Reviewed October 20, 2026.",
                "datePublished": "2026-10-20T18:15:10+00:00",
                "dateModified": "2026-10-20T18:34:32+00:00",
                "mainEntityOfPage": {
                    "@id": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/"
                },
                "inLanguage": "en-US",
                "isAccessibleForFree": true,
                "author": {
                    "@type": "Organization",
                    "name": "DSE Security Editorial Team",
                    "url": "https://update.dsesecurity.com/#editorial-team"
                },
                "publisher": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "image": {
                    "@type": "ImageObject",
                    "@id": "https://update.dsesecurity.com/updates/plan-host-file-ownership-before-enabling-docker-user-namespace-remapping/#primaryimage",
                    "url": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "contentUrl": "https://update.dsesecurity.com/assets/editorial/network-infrastructure-social-v2.jpg?v=1.8.20",
                    "width": 1200,
                    "height": 630,
                    "caption": "Plan host-file ownership before enabling Docker user namespace remapping"
                },
                "articleSection": [
                    "IT",
                    "Networks & Infrastructure"
                ],
                "keywords": [
                    "IT",
                    "Networks & Infrastructure",
                    "Guide",
                    "Information priority"
                ],
                "genre": "Guide",
                "about": [
                    {
                        "@type": "Thing",
                        "name": "IT",
                        "url": "https://update.dsesecurity.com/topic/it/"
                    },
                    {
                        "@type": "Thing",
                        "name": "Networks & Infrastructure",
                        "url": "https://update.dsesecurity.com/topic/networks-infrastructure/"
                    }
                ],
                "wordCount": 274,
                "timeRequired": "PT2M",
                "publishingPrinciples": "https://update.dsesecurity.com/updates/dse-updates-editorial-methodology/",
                "usageInfo": "https://update.dsesecurity.com/usage/",
                "copyrightHolder": {
                    "@id": "https://dsesecurity.com/#organization"
                },
                "copyrightNotice": "Copyright © 2026 Detection Systems & Engineering. All rights reserved.",
                "citation": {
                    "@type": "CreativeWork",
                    "name": "Docker documentation — Isolate containers with a user namespace",
                    "url": "https://docs.docker.com/engine/security/userns-remap/"
                }
            }
        ]
    }
}