Running opencode in Docker (headless) #638

Closed
opened 2026-02-16 17:27:40 -05:00 by yindo · 1 comment
Owner

Originally created by @culda on GitHub (Jul 11, 2025).

I'm trying to spin up a container to run opencode on the codebase with a prompt, but I keep getting stuck on the auth screen.
Can we use envs and config files to fully configure opencode such that this command just runs in the background?

opencode -p "do the thing"

Originally created by @culda on GitHub (Jul 11, 2025). I'm trying to spin up a container to run opencode on the codebase with a prompt, but I keep getting stuck on the auth screen. Can we use envs and config files to fully configure opencode such that this command just runs in the background? `opencode -p "do the thing"`
yindo closed this issue 2026-02-16 17:27:40 -05:00
Author
Owner

@culda commented on GitHub (Jul 11, 2025):

It's just opencode run <> 👍

@culda commented on GitHub (Jul 11, 2025): It's just `opencode run <>` 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#638