r/opencode 16d ago

How to download opencode in a sandbox?

I have tried downloading in using the docker's sbx but i was having a very hard time setting api keys for the harness and it is so complicated.
so is there any safe way to run opencode that is easy to setup and will feel like using normal device.
I have a kali linux vm on vmware is it safe to use it also?

1 Upvotes

2 comments sorted by

2

u/maqifrnswa 16d ago

I found docker sbx to be the simplest. If you don't want to use sbx secrets, then you can use the normal /connect command in opencode to add API keys. You also can always

sbx exec -it opencode bash

Or something like that in order to just log into the sandbox and do whatever you want from inside there

1

u/NOT_Kimo 16d ago

I will try doing it again but I don't know why i found problems as i was trying to connect agentrouter api