-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Describe the bug
On macOS when docker is installed but not running calling command from example kraft cloud deploy --metro fra0 -M 1024 -e POSTGRES_PASSWORD=unikraft -p 5432:5432/tls . panics
Caught panic:
runtime error: invalid memory address or nil pointer dereference
Restoring terminal...
goroutine 226 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x64
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:18 +0x1c
[github.com/charmbracelet/bubbletea.(*Program).recoverFromPanic(0x14000273180)](http://github.com/charmbracelet/bubbletea.(*Program).recoverFromPanic(0x14000273180))
/go/pkg/mod/[github.com/charmbracelet/[email protected]/tea.go:733](http://github.com/charmbracelet/[email protected]/tea.go:733) +0x80
panic({0x101f13f20?, 0x1034c1190?})
/usr/local/go/src/runtime/panic.go:787 +0x124
[kraftkit.sh/initrd.(*dockerfile).Build.func2()](http://kraftkit.sh/initrd.(*dockerfile).Build.func2())
/__w/kraftkit/kraftkit/initrd/dockerfile.go:346 +0x30
panic({0x101f13f20?, 0x1034c1190?})
/usr/local/go/src/runtime/panic.go:787 +0x124
[kraftkit.sh/initrd.(*dockerfile).Build(0x1400056b9e0](http://kraftkit.sh/initrd.(*dockerfile).Build(0x1400056b9e0), {0x1022f0658, 0x140008d3800})
/__w/kraftkit/kraftkit/initrd/dockerfile.go:364 +0x794
[kraftkit.sh/internal/cli/kraft/utils.BuildRootfs.func1({0x1022f0658](http://kraftkit.sh/internal/cli/kraft/utils.BuildRootfs.func1(%7B0x1022f0658)?, 0x140008d3800?})
/__w/kraftkit/kraftkit/internal/cli/kraft/utils/rootfs.go:56 +0x64
[kraftkit.sh/tui/processtree.(*ProcessTree).Init.(*ProcessTree).waitForProcessCmd.func2()](http://kraftkit.sh/tui/processtree.(*ProcessTree).Init.(*ProcessTree).waitForProcessCmd.func2())
/__w/kraftkit/kraftkit/tui/processtree/processtree.go:334 +0xec
[github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1()](http://github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1())
/go/pkg/mod/[github.com/charmbracelet/[email protected]/tea.go:348](http://github.com/charmbracelet/[email protected]/tea.go:348) +0x64
created by [github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1](http://github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1) in goroutine 208
/go/pkg/mod/[github.com/charmbracelet/[email protected]/tea.go:342](http://github.com/charmbracelet/[email protected]/tea.go:342) +0x10c
E could not prepare deployment: could not package: could not package: could not build rootfs: program was killed: context canceled
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working