Opencode always fails to start properly in Docker #8691

Open
opened 2026-02-16 18:10:36 -05:00 by yindo · 1 comment
Owner

Originally created by @DylanLIiii on GitHub (Feb 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When starting from Docker, you will always encounter the problem of being unable to start TUI and Server. The interface becomes blank, and you cannot exit through ctrl+c.

Plugins

No

OpenCode version

1.1.51

Steps to reproduce

  1. Start a docker container Ubuntu 22.04
  2. install opencode in naive way
  3. start opencode

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04

Terminal

Vscode Terminal

Originally created by @DylanLIiii on GitHub (Feb 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When starting from Docker, you will always encounter the problem of being unable to start TUI and Server. The interface becomes blank, and you cannot exit through ctrl+c. ### Plugins No ### OpenCode version 1.1.51 ### Steps to reproduce 1. Start a docker container Ubuntu 22.04 2. install opencode in naive way 3. start opencode ### Screenshot and/or share link _No response_ ### Operating System Ubuntu 22.04 ### Terminal Vscode Terminal
yindo added the opentuibug labels 2026-02-16 18:10:36 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #11374: Blank screen for ~10 seconds on startup when running inside a VM or container
  • #8959: OpenCode freezes with black screen in Termux proot-distro Ubuntu, cannot exit with Ctrl+C
  • #10221: Black screen on just installed opencode
  • #4140: black screen when using >1.0.46
  • #5900: Opencode doesn't work in devcontainer (M1 rosetta) - similar container/environment issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 6, 2026): This issue might be a duplicate of existing issues. Please check: - #11374: Blank screen for ~10 seconds on startup when running inside a VM or container - #8959: OpenCode freezes with black screen in Termux proot-distro Ubuntu, cannot exit with Ctrl+C - #10221: Black screen on just installed opencode - #4140: black screen when using >1.0.46 - #5900: Opencode doesn't work in devcontainer (M1 rosetta) - similar container/environment issues Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8691