Skip to content

Conversation

@hellomypastor
Copy link
Contributor

@hellomypastor hellomypastor commented Dec 19, 2025

Summary

  • Add security hardening knobs for Docker sandboxes (cap drop, no-new-privileges, seccomp, AppArmor, PID limit, optional read-only rootfs) and
    propagate them into container creation.
  • Document recommended secure defaults (EN/zh) and update example config for a strict baseline.
  • Add a unit test to ensure security options are injected into host config.
  • Fixes security-enhanced for docker impl service #16

Testing

  • Not run (explain why) — pytest not installed in env (No module named pytest)
  • Unit tests
  • Integration tests
  • e2e / manual verification

Breaking Changes

  • None
  • Yes (describe impact and migration path)

Checklist

  • Linked Issue or clearly described motivation
  • Added/updated docs (if needed)
  • Added/updated tests (if needed)
  • Security impact considered
  • Backward compatibility considered

@Pangjiping Pangjiping added the enhancement New feature or request label Dec 19, 2025
@hellomypastor hellomypastor force-pushed the security/container-host-isolation branch from baee9df to eca429a Compare December 19, 2025 09:28
@Pangjiping
Copy link
Collaborator

LGTM

@Pangjiping Pangjiping merged commit e4469ac into alibaba:main Dec 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security-enhanced for docker impl service

2 participants