Giter Site home page Giter Site logo

terraform-workshop's People

Contributors

eveld avatar nicholasjackson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

terraform-workshop's Issues

Error running jumppad check or jumppad up

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
โฏ

WSL2/Podman-Desktop: docker.sock: permission denied

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.