这是indexloc提供的服务,不要输入任何密码
Skip to content

Error tunneling to container: wait: remote command exited without exit status or exit signal #1927

@AdamIsrael

Description

@AdamIsrael

What happened?

devpod ssh . --command "cargo build"
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
16:18:47 error Error tunneling to container: wait: remote command exited without exit status or exit signal

What did you expect to happen instead?

I expected the command to run without devpod returning an error.

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
    "name": "Rust Development",
    "build": {
        "dockerfile": "Dockerfile",
        "context": "."
    },
    "customizations": {
        "vscode": {
            "extensions": ["rust-lang.rust-analyzer"]
        }
    },
    "containerUser": "vscode",
    "remoteUser": "vscode",
    "updateRemoteUserUID": true, // Automatically updates UID/GID in container

    "workspaceMount": "",
    "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
    "runArgs": [
        // other args
        "--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"
    ],
    "postCreateCommand": "cargo build"
}

Local Environment:

  • DevPod Version: v0.6.15
  • Operating System: linux (bluefin)
  • ARCH of the OS: AMD64

DevPod Provider:

  • Cloud Provider: n/a
  • Kubernetes Provider: n/a
  • Local/remote provider: docker

Anything else we need to know?

The command succeeds and returns 0 when I run it from inside an interactive ssh session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions