Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Add field to specify whether an isolator is required for execution #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,11 @@ Some well known isolators can be verified by the specification.
Additional isolators will be added to this specification over time.

An isolator is a standalone JSON object with only one required field: "name".
All other fields are specific to the isolator.
All other fields are optional or specific to the isolator.

An executor MAY ignore isolators that it does not understand and run the container without them.
An isolator MAY include a field named "required". If the "required" field is present and has value "true" then an executor MUST either enforce the isolator or refuse to execute the container and return an error. A missing "required" field is treated as a value of "false".

An executor MAY ignore isolators that it does not understand and run the container without them as long as those isolators do not have "required" set to "true.
But, an executor MUST make information about which isolators were ignored, enforced or modified available to the user.
An executor MAY implement a "strict mode" where an image cannot run unless all isolators are in place.

Expand Down