Skip to content

engine/security/rootless: update for Docker Engine v29.5#24645

Open
AkihiroSuda wants to merge 1 commit intodocker:mainfrom
AkihiroSuda:rootless-29.5
Open

engine/security/rootless: update for Docker Engine v29.5#24645
AkihiroSuda wants to merge 1 commit intodocker:mainfrom
AkihiroSuda:rootless-29.5

Conversation

@AkihiroSuda
Copy link
Copy Markdown
Contributor

Description

Updates for Rootless mode in Docker Engine v29.5.

  • Support --net=host
  • Support propagating source IP in port forwarding. Requires disabling userland-proxy.

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 7, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 10c6c02
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69ece1416ffb060008f1b199
😎 Deploy Preview https://deploy-preview-24645--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

See:
- docker/docker PR 47103
- docker/docker PR 52319

Signed-off-by: Akihiro Suda <[email protected]>
Comment on lines +231 to +233
| Network driver | Port driver | Net throughput | Port throughput | Source IP propagation | No SUID | Note |
| -------------- | -------------------- | -------------- | --------------- | --------------------- | ------- | ---------------------------------------------------------------------------- |
| `gvisor-tap-vsock`| `builtin` | Slow | Fast ✅ | ✅ (*) | ✅ | Default when slirp4netns is not installed |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Micro-nit; can you align the header-width with the columns (or is it GitHub's rendering showing it wrong?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems aligned well, on macOS Terminal

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thx for checking; GitHub isn't great at rendering these 🤗

{{< tab name="RootlessKit v3.0 or later" >}}
This is because Docker Engine's `userland-proxy` is incompatible with RootlessKit's source IP propagation.

To disable userland-proxy, add the following configuration to `~/.config/docker/daemon.json`:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AkihiroSuda Is there still any situation where the userland-proxy could / should be used when running with rootlesskit? Wondering if we should also make the daemon ignore the option and disable it (print an info / warning possibly)

Copy link
Copy Markdown
Contributor Author

@AkihiroSuda AkihiroSuda Apr 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there still any situation where the userland-proxy could / should be used when running with rootlesskit?

userland-proxy has to be used when br_netfilter is not loaded.

It shouldn't be a hard requirement unless enable_icc=false is used, but the current implementation still treats it as a hard requirement:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants