Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devcontainers using compose not building #1576

Open
yetti opened this issue Jan 18, 2025 · 2 comments
Open

Devcontainers using compose not building #1576

yetti opened this issue Jan 18, 2025 · 2 comments
Labels

Comments

@yetti
Copy link

yetti commented Jan 18, 2025

What happened?

Updated DevPod to latest version. Previously working Devcontainers that used compose are no longer building and starting.

[03:13:03] debug No pro instance available, skipping provider upgrade check
[03:13:03] debug Acquire workspace lock...
[03:13:03] debug Acquired workspace lock...
[03:13:03] info Creating devcontainer...
[03:13:03] debug Adding ssh keys to agent, disable via 'devpod context set-options -o SSH_ADD_PRIVATE_KEYS=false'
[03:13:03] debug Inject and run command: '/Applications/DevPod.app/Contents/MacOS/devpod-cli' helper ssh-server --stdio --debug
[03:13:03] debug Execute command locally
[03:13:03] debug Attempting to create SSH client
[03:13:04] debug SSH client created
[03:13:04] debug SSH session created
[03:13:04] debug Forwarding ssh-agent using /private/tmp/com.apple.launchd.WIEmbqYfy8/Listeners
[03:13:04] info Execute SSH server command: /bin/zsh -c '/Applications/DevPod.app/Contents/MacOS/devpod-cli' agent workspace up --workspace-info 'H4sIAAAAAAAA/5RSXU/bPBT+L+c6iVt4X8R8xwob1WBBkE7abpBnnxKDY0c+JwGE8t8nN6EtmtBE7uw8x+f5eoHHEB+oVRrLaO+sBwliRRhJPCOzFYXBvg1G6OAZn5iEwbXqHIvtHImedDCYR2wCY87xOW+fuQ5+hynuKXjIdstAvoA1IOG9Wcig2wCmfXlP+fHhf+s1ZNDG0FuDMT3iVYMJFfQDRsggtGyDp/TrtFx8O7u+vTqpztOxV67bgw4ZLL+fLKrlj2X187ZaXp6VqwrkyzAMGTRK19YnlkMG1uDeppFwGqfQxVGJC1q5L8FtOL31L4HfNSi9oiOqRLmyDRKrpgUJB7OD//PZPJ8fV/MjOT+Us8NfkIFTxCtC8z5iSmlnW9qg7tDzliZI4NhhslFxneietK2zekOCxCn2V8EUqm3FIj3mmcSl0uWNGIuQa2chAxMevQvKrK4vQELN3JIU4s5y3f0udGiEC2vOqZ6mRESHipDE66DoZ8VR8QkysP4eNX+1vIho0LNVjnYk8Qn1GMOYm0Oi/XPSNQnZdsB6YuWS0rVytMlKd8Sh2cSbgXa23NXkXzV8jXm0T34g3ak6e5X5u52fV8uL07PrUdJ0d17eVG8uPlzhV1dTqULHIA9m22/4AwAA//8BAAD//yQJWLf0AwAA' --debug
[03:13:04] info Use /Users/yetti/.devpod/agent/contexts/default/workspaces/vscode-remote-try-python as workspace dir
[03:13:04] debug Created logger
[03:13:04] debug Received ping from agent
[03:13:04] debug Credentials server started on port 14104...
[03:13:05] debug Incoming client connection at /
[03:13:05] debug Credentials server started...
[03:13:05] debug Workspace Folder already exists /Users/yetti/code/vscode-remote-try-python
[03:13:05] debug Workspace exists, skip downloading
[03:13:05] debug Skipping configuring daemon
[03:13:05] debug Using docker command 'docker'
[03:13:05] debug Loading docker compose project [/Users/yetti/code/vscode-remote-try-python/.devcontainer/compose.yml]
[03:13:05] debug Loaded project defaultvs834ff
[03:13:05] info No Major.Minor.Patch elements found
[03:13:05] info get default image
[03:13:05] info github.com/loft-sh/devpod/pkg/devcontainer.(*runner).startContainer
[03:13:05] info /Users/runner/work/devpod/devpod/pkg/devcontainer/compose.go:281
[03:13:05] info github.com/loft-sh/devpod/pkg/devcontainer.(*runner).runDockerCompose
[03:13:05] info /Users/runner/work/devpod/devpod/pkg/devcontainer/compose.go:186
[03:13:05] info github.com/loft-sh/devpod/pkg/devcontainer.(*runner).Up
[03:13:05] info /Users/runner/work/devpod/devpod/pkg/devcontainer/run.go:121
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).devPodUp
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:129
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).up
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:104
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).Run
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:94
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.NewUpCmd.func1
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:52
[03:13:05] info github.com/spf13/cobra.(*Command).execute
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:985
[03:13:05] info github.com/spf13/cobra.(*Command).ExecuteC
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1117
[03:13:05] info github.com/spf13/cobra.(*Command).Execute
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1041
[03:13:05] info github.com/loft-sh/devpod/cmd.Execute
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/root.go:81
[03:13:05] info main.main
[03:13:05] info /Users/runner/work/devpod/devpod/main.go:6
[03:13:05] info runtime.main
[03:13:05] info /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:271
[03:13:05] info runtime.goexit
[03:13:05] info /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_arm64.s:1222
[03:13:05] info start container
[03:13:05] info github.com/loft-sh/devpod/pkg/devcontainer.(*runner).runDockerCompose
[03:13:05] info /Users/runner/work/devpod/devpod/pkg/devcontainer/compose.go:188
[03:13:05] info github.com/loft-sh/devpod/pkg/devcontainer.(*runner).Up
[03:13:05] info /Users/runner/work/devpod/devpod/pkg/devcontainer/run.go:121
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).devPodUp
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:129
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).up
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:104
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).Run
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:94
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.NewUpCmd.func1
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:52
[03:13:05] info github.com/spf13/cobra.(*Command).execute
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:985
[03:13:05] info github.com/spf13/cobra.(*Command).ExecuteC
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1117
[03:13:05] info github.com/spf13/cobra.(*Command).Execute
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1041
[03:13:05] info github.com/loft-sh/devpod/cmd.Execute
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/root.go:81
[03:13:05] info main.main
[03:13:05] info /Users/runner/work/devpod/devpod/main.go:6
[03:13:05] info runtime.main
[03:13:05] info /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:271
[03:13:05] info runtime.goexit
[03:13:05] info /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_arm64.s:1222
[03:13:05] info devcontainer up
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).Run
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:96
[03:13:05] info github.com/loft-sh/devpod/cmd/agent/workspace.NewUpCmd.func1
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/agent/workspace/up.go:52
[03:13:05] info github.com/spf13/cobra.(*Command).execute
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:985
[03:13:05] info github.com/spf13/cobra.(*Command).ExecuteC
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1117
[03:13:05] info github.com/spf13/cobra.(*Command).Execute
[03:13:05] info /Users/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1041
[03:13:05] info github.com/loft-sh/devpod/cmd.Execute
[03:13:05] info /Users/runner/work/devpod/devpod/cmd/root.go:81
[03:13:05] info main.main
[03:13:05] info /Users/runner/work/devpod/devpod/main.go:6
[03:13:05] info runtime.main
[03:13:05] info /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:271
[03:13:05] info runtime.goexit
[03:13:05] info /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_arm64.s:1222
[03:13:05] debug Connection to SSH Server closed
[03:13:05] debug Done creating devcontainer
[03:13:05] debug Done executing ssh server helper command
[03:13:06] fatal Process exited with status 1
run agent command
github.com/loft-sh/devpod/pkg/devcontainer/sshtunnel.ExecuteCommand.func2
        /Users/runner/work/devpod/devpod/pkg/devcontainer/sshtunnel/sshtunnel.go:129
runtime.goexit
        /Users/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_arm64.s:1222

What did you expect to happen instead?

Devcontainer to build and start up.

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

I have a repository with a reproducible example of the problem here: https://github.com/yetti/vscode-remote-try-python

Local Environment:

  • DevPod Version: v0.6.9
  • Operating System: macOS
  • ARCH of the OS: ARM64

DevPod Provider:

  • Local/remote provider: docker

Anything else we need to know?

  • I am using OrbStack.
  • I am able to build and start the Devcontainer without any errors from VSCode and using the devcontainer CLI.
@yetti yetti added the kind/bug label Jan 18, 2025
@pascalbreuninger
Copy link
Member

Hey @yetti , thanks for reporting the issue. Could you provide us with the output of docker compose version --short please?

@yetti
Copy link
Author

yetti commented Jan 18, 2025

Hi @pascalbreuninger, docker compose version --short returns 083f676.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants