Remote SSH to (DevPod) devcontainer fails
Resolved 💬 2 comments Opened May 15, 2026 by heyarny Closed May 23, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
26.513.20950
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.4.0 arm64 arm
What issue are you seeing?
Codex App Remote SSH fails against a (DevPod) devcontainer with:
SSH codex app - server websocket closed
Local app:
Codex App 26.513.20950
Embedded CLI: codex-cli 0.131.0-alpha.9
Remote devcontainer:
codex-cli 0.131.0-alpha.19
Linux 6.12.76-linuxkit aarch64
SSH host: <devpod-host>.devpod
Direct SSH can find Codex:
ssh <devpod-host>.devpod 'command -v codex && codex --version'
/usr/local/bin/codex
codex-cli 0.131.0-alpha.19
But daemon startup fails:
ssh <devpod-host>.devpod 'codex app-server daemon start'
Error: app server did not become ready on /home/vscode/.codex/app-server-control/app-server-control.sock
Caused by:
No such file or directory (os error 2)
What steps can reproduce the bug?
Codex App -> Settings -> Connections -> SSH -> DevContainer
What is the expected behavior?
Additional information
_No response_
2 Comments
I could find a workaround for the issue.
It seems to be related to https://github.com/openai/codex/issues/20617 .
So I wrote this helper script to fix the start up of the app server.
devcontainer.json
Ok, got the mistake.
Codex cli needs full access to its folders. Better not mount the whole .codex folder to the host.
It would be good to know what best practice are for devcontainers. What can we mount and what not..
Right now I'm trying to mount selective folders to the host (sessions, plugins, skills, ..).