Skip to content

Conversation

@roshr22
Copy link
Collaborator

@roshr22 roshr22 commented Aug 8, 2025

Initial implementation of config.json parsing and validation using serde.

Features:

  • Parse OCI config.json into strongly typed structs via Serde
  • Validate ociVersion format (must start with "1.")
  • Reject runtime if executed as root (enforce rootless mode)
  • Validate UID/GID mappings (must include mapping for container_id 0)
  • Add struct stubs for mounts, namespaces, and other runtime fields

Tested with valid and invalid example bundles.

Future work:

  • Implement runtime behavior

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.

2 participants