Skip to content

docs: add security and resources page for Talos Containers - #891

Draft
Iheanacho-ai wants to merge 1 commit into
siderolabs:mainfrom
Iheanacho-ai:talos-containers-security-resources
Draft

Iheanacho-ai wants to merge 1 commit into
siderolabs:mainfrom
Iheanacho-ai:talos-containers-security-resources

Conversation

@Iheanacho-ai

@Iheanacho-ai Iheanacho-ai commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

What

Adds Configure Security for a Talos Container to the v1.14 and v1.15 docs.

Why

Talos Containers do not use user namespaces, so root in a container is root on the host. Users need to know how to limit what a container can reach.

Change

  • Covers the restricted and privileged profiles, runAs, adding and dropping capabilities, and Talos API access with machinedAccess.
  • machinedAccess mounts the machined socket and lets the container request any role. The socket is owned by the apid user, though, so the container also needs runAs 50, DAC_OVERRIDE, or the privileged profile.

Part of #885

Testing

  • Ran: checked the profiles, capabilities, and socket ownership against the Talos source. The profile behavior was confirmed with Maja.
  • Filled from outside the page: the image USER behavior (talos#14765) and the sysfs behavior (talos#14767) will change in v1.15. The v1.15 copy will be updated when they land.

@mintlify

mintlify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 70b9241.

Approve preview

@Iheanacho-ai
Iheanacho-ai marked this pull request as draft October 26, 2026 22:22
@github-project-automation github-project-automation Bot moved this to To Do in Planning Oct 26, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

📋 Automated documentation review

⚠️ The reviewer did not finish on commit 70b9241 (it timed out or errored) — see the workflow run log. This run did not produce a result; any findings from an earlier run on this PR still stand.

@majabojarska
majabojarska self-requested a review October 27, 2026 11:51
@smira smira removed this from Planning Oct 27, 2026
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-security-resources branch 6 times, most recently from fa6da9e to 4681ec7 Compare October 29, 2026 08:13
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-security-resources branch from 4681ec7 to 967d25d Compare November 13, 2026 14:50
@github-actions

Copy link
Copy Markdown

📋 Automated documentation review

An automated pass runs on documentation changes in every PR. The items below are suggestions to consider — advisory, not a merge gate.

Reviewed commit 967d25d · 🔴 0 critical · 🟡 5 warning(s) · ⚪ 3 notice(s)

  • 🟡 public/talos/v1.14/talos-containers/configure-security.mdx:133 — Both Next steps links point to pages that do not exist in the repository.
    • Why: Neither how-talos-containers-work nor configure-resource-limits exists anywhere under public/, so both links 404 for readers and make broken-links fails in CI.
    • Fix: Land the two referenced pages in the same change, or remove the Next steps section until they exist.
  • 🟡 public/talos/v1.14/talos-containers/configure-security.mdx:1 — New page is not listed in any navigation YAML and docs.json was not regenerated.
    • Why: No nav YAML references talos-containers, so the page will not appear on the site and the CI check that regenerates docs.json and diffs it against the committed copy will fail.
    • Fix: Add a Talos Containers group with folder talos/v1.14/talos-containers to talos-v1.14.yaml, then run make docs.json and commit the result.
  • 🟡 public/talos/v1.15/talos-containers/configure-security.mdx:103 — The SCMP_ACT_LOG example replaces the default seccomp filter with an allow-all policy without saying so.
    • Why: SCMP_ACT_LOG permits every system call as well as logging it, so applying this profile removes containerd's default seccomp filtering from the container; the prose only says it logs every system call.
    • Fix: Add: SCMP_ACT_LOG allows every system call as well as logging it, so this profile is weaker than the default one; use it to discover which calls a workload makes, not as its final profile.
  • 🟡 public/talos/v1.15/talos-containers/configure-security.mdx:163 — Both Next steps links point to pages that do not exist in the repository.
    • Why: Neither how-talos-containers-work nor configure-resource-limits exists anywhere under public/, so both links 404 for readers and make broken-links fails in CI.
    • Fix: Land the two referenced pages in the same change, or remove the Next steps section until they exist.
  • 🟡 public/talos/v1.15/talos-containers/configure-security.mdx:1 — New page is not listed in any navigation YAML and docs.json was not regenerated.
    • Why: No nav YAML references talos-containers, so the page will not appear on the site and the CI check that regenerates docs.json and diffs it against the committed copy will fail.
    • Fix: Add a Talos Containers group with folder talos/v1.15/talos-containers to talos-v1.15.yaml, then run make docs.json and commit the result.

Notices, and the reviewer's full report, are in the run's doc-accuracy-report artifact.

@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-security-resources branch from 967d25d to 5fb382c Compare November 16, 2026 11:42
Add a how-to page to the v1.14 and v1.15 docs covering the security
side of a ContainerConfig document: the restricted and privileged
profiles, adding and dropping capabilities, runAs, and Talos API access
with machinedAccess.

The machinedAccess section states what the setting does and what it
does not: it mounts the machined socket and lets the container request
any role, but the socket is owned by the apid user, so the container
also needs runAs 50, DAC_OVERRIDE, or the privileged profile.

Resource limits, networking, and startup order have their own pages.

Part of siderolabs#885

Signed-off-by: Amarachi Iheanacho <amarachi.iheanacho@siderolabs.com>
@Iheanacho-ai
Iheanacho-ai force-pushed the talos-containers-security-resources branch from 5fb382c to 70b9241 Compare November 29, 2026 17:28

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants