ioi / isolate

Sandbox for securely executing untrusted programs
Other
1.05k stars 157 forks source link

How to allow access ENV variables of the host machine ? #80

Closed saikatharryc closed 4 years ago

saikatharryc commented 4 years ago

I'm trying to run some sort of script that connects to remote Redis, although I'm using --share-net option to allow networking. but also want to know if I can pass ENV data as well.

seirl commented 4 years ago

Yes, see:

https://github.com/ioi/isolate/blob/master/isolate.1.txt#L144-L161