Opencode Docker Image doesnt allow Desktop Terminal Swanning with Bun-PTY #7735

Open
opened 2026-02-16 18:08:05 -05:00 by yindo · 5 comments
Owner

Originally created by @OpeOginni on GitHub (Jan 27, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Using the official Opencode Docker Image ghcr.io/anomalyco/opencode:latest to create a server and trying to connect to it on the Desktop app. Everything else works except for starting a terminal. Once I try to I get an error log on the Opencode Server, attached in the issue.

Plugins

None

OpenCode version

1.1.36

Steps to reproduce

  1. Run a Docker Container from the official opencode image FROM ghcr.io/anomalyco/opencode:latest
  2. Run the opencode serve command and get the server url
  3. Connect to Opencode Desktop, and try to open the terminal, try clicking the + button to force open a new terminal, then check the logs on the container.

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Originally created by @OpeOginni on GitHub (Jan 27, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Using the official Opencode Docker Image `ghcr.io/anomalyco/opencode:latest` to create a server and trying to connect to it on the Desktop app. Everything else works except for starting a terminal. Once I try to I get an error log on the Opencode Server, attached in the issue. ### Plugins None ### OpenCode version 1.1.36 ### Steps to reproduce 1. Run a Docker Container from the official opencode image `FROM ghcr.io/anomalyco/opencode:latest` 2. Run the `opencode serve` command and get the server url 3. Connect to Opencode Desktop, and try to open the terminal, try clicking the + button to force open a new terminal, then check the logs on the container. ### Screenshot and/or share link <img width="814" height="524" alt="Image" src="https://github.com/user-attachments/assets/ac0b0303-e1d1-4c22-9668-e9843214513b" /> ### Operating System _No response_ ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 18:08:05 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2026):

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

  • #5685: Cannot open terminal from opencode web - Similar bun-pty GLIBC compatibility issue with terminal spawning
  • #7635: Windows Desktop can't open terminal because bun problem - Similar error with bun-pty terminal creation failure
  • #10556: Plugin bun-pty cannot find librust_pty.so when installed in .opencode/ - Related bun-pty library resolution issues

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

@github-actions[bot] commented on GitHub (Jan 27, 2026): This issue might be a duplicate of existing issues. Please check: - #5685: Cannot open terminal from opencode web - Similar bun-pty GLIBC compatibility issue with terminal spawning - #7635: Windows Desktop can't open terminal because bun problem - Similar error with bun-pty terminal creation failure - #10556: Plugin bun-pty cannot find librust_pty.so when installed in .opencode/ - Related bun-pty library resolution issues Feel free to ignore if none of these address your specific case.
Author
Owner

@adamdotdevin commented on GitHub (Feb 4, 2026):

@OpeOginni i think we can close in light of #12070 can you confirm?

@adamdotdevin commented on GitHub (Feb 4, 2026): @OpeOginni i think we can close in light of [#12070](https://github.com/anomalyco/opencode/pull/11906) can you confirm?
Author
Owner

@OpeOginni commented on GitHub (Feb 4, 2026):

I shall check

@OpeOginni commented on GitHub (Feb 4, 2026): I shall check
Author
Owner

@OpeOginni commented on GitHub (Feb 4, 2026):

@adamdotdevin Maybe after the new release ill do some checks

@OpeOginni commented on GitHub (Feb 4, 2026): @adamdotdevin Maybe after the new release ill do some checks
Author
Owner

@OpeOginni commented on GitHub (Feb 5, 2026):

@adamdotdevin that PR does not fix this issue, I still get that error when trying to run the bun-pty package to open terminals on the desktop app for remote servers using the docker image

@OpeOginni commented on GitHub (Feb 5, 2026): @adamdotdevin that PR does not fix this issue, I still get that error when trying to run the bun-pty package to open terminals on the desktop app for remote servers using the docker image
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7735