Requires node-exec::read permission.
Security
JWTAuthorizer
- Mock serverhttps://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/exec/container/{containerID}
- https://api.trustgrid.iohttps://api.trustgrid.io/v2/node/{nodeID}/exec/container/{containerID}
curl -i -X GET \
'https://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/exec/container/{containerID}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Only start the container if the node has connectivity to the control plane. Needed for encrypted volumes.
Indicates that an init process should be used as PID 1 in the container. Ensures responsibilities of an init system are performed inside the container (e.g., handling exit signals).
User name (or UID) and optionally the group (or GID) to use when starting the container. This will override the USER specified in the image
Response
{ "command": "string", "description": "my container", "enabled": true, "execType": "onDemand", "hostname": "mycontainer", "id": "b4011aa3-d0d5-4c5c-9c0b-19095ba515d5", "image": { "repository": "mycompany.trustgrid.io/myimage", "tag": "latest" }, "name": "mycontainer", "privileged": true, "requireConnectivity": true, "stopTime": "60", "useInit": true, "user": "string", "nodeUid": "string", "namespace": "string", "saveOutput": true }