OpenCode-Container

by jeenaon 1/13/2026, 5:51 AMwith 1 comments

by jeenaon 1/13/2026, 5:54 AM

OP here

I was afraid of trying any online models with opencode because per default it has full access to your computer. I also never want the AI to push code anywhere, I want to do it myself to keep this control, afterall it's easy just to nuke the local repo.

This is where I came up with this docker container for it and a alias which opens opencode in the docker container and mounts things, etc. I'm just afraid I missed some safety things, because I'm not good at it.