jumppad-labs / terraform-workshop Goto Github PK
View Code? Open in Web Editor NEWExample of a workshop using jumppad
Example of a workshop using jumppad
ERRO Error checking server version error="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x102ac8578]
goroutine 1 [running]:
github.com/jumppad-labs/jumppad/pkg/clients/container.NewDockerTasks({0x105272ad8, 0x14000364880}, {0x0?, 0x0}, 0x0, {0x0?, 0x0})
/home/runner/work/jumppad/jumppad/pkg/clients/container/docker_tasks.go:69 +0x158
github.com/jumppad-labs/jumppad/pkg/clients/system.(*SystemImpl).checkDocker(0x14000d1fc68)
/home/runner/work/jumppad/jumppad/pkg/clients/system/system.go:199 +0x40
github.com/jumppad-labs/jumppad/pkg/clients/system.(*SystemImpl).Preflight(0x0?)
/home/runner/work/jumppad/jumppad/pkg/clients/system/system.go:86 +0x24
github.com/jumppad-labs/jumppad/cmd.glob..func1(0x1066ae7a0?, {0x106721008?, 0x0?, 0x0?})
/home/runner/work/jumppad/jumppad/cmd/check.go:18 +0x28
github.com/spf13/cobra.(*Command).execute(0x1066ae7a0, {0x106721008, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:944 +0x5b0
github.com/spf13/cobra.(*Command).ExecuteC(0x1066af8e0)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1068 +0x35c
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:992
github.com/jumppad-labs/jumppad/cmd.Execute({0x104b836bc?, 0x0?}, {0x104b845a0?, 0x1026dac7c?}, {0x104b841b0?, 0x140000021a0?})
/home/runner/work/jumppad/jumppad/cmd/root.go:135 +0xf4
main.main()
/home/runner/work/jumppad/jumppad/main.go:14 +0x4c
~/desktop/terraform-workshop/terraform-workshop main
โฏ
I'm currently having an issue when doing a jumppad up on Win 11 WSL2 with Podman-Desktop installed:
ERRO Unable to create container ref=resource.container.vscode error="Error response from daemon: container create: statfs /var/run/docker.sock: permission denied"
Error:
unable to create resource "resource.container.vscode" Error response from
daemon: container create: statfs /var/run/docker.sock: permission denied
D:\git\tf-bootcamp-2023\terraform-workshop\main.hcl:99,1
97 | }
98 |
99 | resource "container" "vscode" {
100 | network {
101 | id = resource.network.main.id
I suspect this is a podman issue and seems to be related to rootless containers, is there a way to call --privileged from jumppad?
This is happening on the following stage:
INFO Creating Container ref=resource.container.vscode
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.