? How do you want to initialize this project?
Use the Dockerfile in ./Dockerfile
? Which registry do you want to use for storing your Docker images?
Use hub.docker.com
[wait] | Checking registry authentication (0s)panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x1 addr=0x58 pc=0x1654bb8]
goroutine 1 [running]:
github.com/devspace-cloud/devspace/pkg/devspace/docker.(*client).Login(0xc000f65450, 0x2194c12, 0xe, 0x0, 0x0, 0x0, 0x0, 0x1, 0x2b, 0x0, ...)
/Users/runner/runners/2.169.0/work/devspace/devspace/pkg/devspace/docker/auth.go:43 +0xc8
github.com/devspace-cloud/devspace/pkg/devspace/configure.(*manager).getRegistryURL(0xc0006e5e90, 0x26489e0, 0xc000f65450, 0x212bcf2, 0x7, 0xc00112da28, 0x5, 0x0, 0x0, 0x0)
/Users/runner/runners/2.169.0/work/devspace/devspace/pkg/devspace/configure/image.go:288 +0x52f
github.com/devspace-cloud/devspace/pkg/devspace/configure.(*manager).newImageConfigFromDockerfile(0xc0006e5e90, 0xc000f3f300, 0x10, 0x2170aa8, 0xc, 0x0, 0x0, 0xc00112db00, 0xa9e86a, 0xc000f2ca70)
/Users/runner/runners/2.169.0/work/devspace/devspace/pkg/devspace/configure/image.go:103 +0x2a2
github.com/devspace-cloud/devspace/pkg/devspace/configure.(*manager).NewDockerfileComponentDeployment(0xc0006e5e90, 0xc000f3d530, 0xc000f21b80, 0x11, 0x0, 0x0, 0x2170aa8, 0xc, 0x0, 0x0, ...)
/Users/runner/runners/2.169.0/work/devspace/devspace/pkg/devspace/configure/deployment.go:26 +0xea
github.com/devspace-cloud/devspace/cmd.(*InitCmd).Run(0xc0000d21e0, 0x2664400, 0x3a401d0, 0xc000e7d900, 0x3a401d0, 0x0, 0x0, 0x0, 0x0)
/Users/runner/runners/2.169.0/work/devspace/devspace/cmd/init.go:239 +0xa1a
github.com/devspace-cloud/devspace/cmd.NewInitCmd.func1(0xc000e7d900, 0x3a401d0, 0x0, 0x0, 0x0, 0x0)
/Users/runner/runners/2.169.0/work/devspace/devspace/cmd/init.go:80 +0x6b
github.com/spf13/cobra.(*Command).execute(0xc000e7d900, 0x3a401d0, 0x0, 0x0, 0xc000e7d900, 0x3a401d0)
/Users/runner/runners/2.169.0/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:826 +0x467
github.com/spf13/cobra.(*Command).ExecuteC(0xc00055cc80, 0x3a401d0, 0xc00055cc80, 0xc00079bf90)
/Users/runner/runners/2.169.0/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:914 +0x302
github.com/spf13/cobra.(*Command).Execute(...)
/Users/runner/runners/2.169.0/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:864
github.com/devspace-cloud/devspace/cmd.Execute()
/Users/runner/runners/2.169.0/work/devspace/devspace/cmd/root.go:99 +0xb5
main.main()
/Users/runner/runners/2.169.0/work/devspace/devspace/main.go:17 +0x45
What happened?
cli crashed, panic: runtime error: invalid memory address or nil pointer dereference
What did you expect to happen instead?
Expected minimal devspace.yml to be generated
How can we reproduce the bug? (as minimally and precisely as possible)
Follow the getting started guide at
devspace initselecting any one options except "Always skip image push...." results in the following error.Local Environment:
Anything else we need to know?
I currently have not setup any authentication for dockerhub.
/kind bug