occlum/demos/fish/Occlum.json
2020-06-13 03:33:32 +00:00

52 lines
1.1 KiB
JSON

{
"resource_limits": {
"user_space_size": "512MB",
"kernel_space_heap_size": "32MB",
"kernel_space_stack_size": "1MB",
"max_num_of_threads": 32
},
"process": {
"default_stack_size": "4MB",
"default_heap_size": "32MB",
"default_mmap_size": "80MB"
},
"entry_points": [
"/bin"
],
"env": {
"default": [
"OCCLUM=yes",
"HOME=/root"
],
"untrusted": [
]
},
"metadata": {
"product_id": 0,
"version_number": 0,
"debuggable": true
},
"mount": [
{
"target": "/",
"type": "sefs",
"source": "./image",
"options": {
"integrity_only": true
}
},
{
"target": "/root",
"type": "sefs"
},
{
"target": "/host",
"type": "hostfs",
"source": "."
},
{
"target": "/tmp",
"type": "ramfs"
}
]
}