Hello @phreed
I added your provider successfully, then tried to create a workspace with it and this folder:
> cat $HOME/devpod/test-ws/.devcontainer.json
{"image":"registry.fedoraproject.org/fedora-toolbox:40"}
Unfortunately it gives me an error after creating the container (I see container up
in the logs) when building the workspace. The logs end with:
...
{"type":"data","data":{"time":"2024-09-23T23:05:37.821535361+01:00","message":"devcontainer up","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821538067+01:00","message":"github.com/loft-sh/devpod/cmd/agent/workspace.(*UpCmd).Run","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821541973+01:00","message":"/home/runner/work/devpod/devpod/cmd/agent/workspace/up.go:95","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821545524+01:00","message":"github.com/loft-sh/devpod/cmd/agent/workspace.NewUpCmd.func1","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821549024+01:00","message":"/home/runner/work/devpod/devpod/cmd/agent/workspace/up.go:51","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.82155219+01:00","message":"github.com/spf13/cobra.(*Command).execute","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821555702+01:00","message":"/home/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:983","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.82155929+01:00","message":"github.com/spf13/cobra.(*Command).ExecuteC","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821563225+01:00","message":"/home/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1115","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821566756+01:00","message":"github.com/spf13/cobra.(*Command).Execute","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821569588+01:00","message":"/home/runner/work/devpod/devpod/vendor/github.com/spf13/cobra/command.go:1039","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821573062+01:00","message":"github.com/loft-sh/devpod/cmd.Execute","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821575855+01:00","message":"/home/runner/work/devpod/devpod/cmd/root.go:90","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821578779+01:00","message":"main.main","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821581186+01:00","message":"/home/runner/work/devpod/devpod/main.go:6","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821584048+01:00","message":"runtime.main","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821586339+01:00","message":"/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/proc.go:271","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.82159024+01:00","message":"runtime.goexit","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.821592597+01:00","message":"/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/asm_amd64.s:1695","level":"info"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.82524296+01:00","message":"Connection to SSH Server closed","level":"debug"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.82527146+01:00","message":"Done creating devcontainer","level":"debug"}}
{"type":"data","data":{"time":"2024-09-23T23:05:37.8287052+01:00","message":"Done executing ssh server helper command","level":"debug"}}
{"type":"error","error":{"time":"2024-09-23T23:05:37.945389294+01:00","message":"Process exited with status 1\nrun agent command\ngithub.com/loft-sh/devpod/pkg/devcontainer/sshtunnel.ExecuteCommand.func2\n\t/home/runner/work/devpod/devpod/pkg/devcontainer/sshtunnel/sshtunnel.go:129\nruntime.goexit\n\t/home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.5.linux-amd64/src/runtime/asm_amd64.s:1695","level":"fatal"}}
Interestingly, the container is up and running, but I cannot enter it:
> toolbox list -c
CONTAINER ID CONTAINER NAME CREATED STATUS IMAGE NAME
751041fd7fbf wonderful_merkle 5 minutes ago running registry.fedoraproject.org/fedora-toolbox:40
> toolbox enter wonderful_merkle
Error: container wonderful_merkle is too old and no longer supported
Recreate it with Toolbox version 0.0.17 or newer.
How is this possible?