Coder Social home page Coder Social logo

Comments (8)

AmsellemJoseph avatar AmsellemJoseph commented on July 20, 2024 1

Hey, I have the same problem, I'm running on linux/arm64.

Thanks for your responses. 😊

from docker-devenv.

mgmorcos avatar mgmorcos commented on July 20, 2024 1

thanks @ud3sh now i see the container exit with the following message in logs:

exec /usr/bin/bash: exec format error

this often means wrong arch. mine is amd64, maybe you built for arm64? i'd be happy to rebuild with the Dockerfile if available.

from docker-devenv.

AmsellemJoseph avatar AmsellemJoseph commented on July 20, 2024 1

Hey @ud3sh,
I confirm, in linux/amd64 I have the same issue than @mgmorcos.

And when i'm running on linux/arm64, I have this issue:

✗ orders_by_month /evidence-workspace/node_modules/duckdb/lib/binding/duckdb.node: cannot open shared object file: No such file or directory.

Thanks a lot for your work and responses. 😊

from docker-devenv.

mgmorcos avatar mgmorcos commented on July 20, 2024 1

@ud3sh TY it's working for me now 🙏

from docker-devenv.

AmsellemJoseph avatar AmsellemJoseph commented on July 20, 2024 1

hey @ud3sh,

my bad, I misconfigured something, maybe missclick 😅.

Thanks a lot for your work, seems to work now.

from docker-devenv.

ud3sh avatar ud3sh commented on July 20, 2024

Thanks for reporting the issue @mgmorcos and @AmsellemJoseph!

We are still working on a holistic solution that works on all platforms without the image size being too large.

As a stop gap, we published a new image evidencedev/devenv:ubuntu that should let you get around the issue.
In order to use this image, simply replace where you were using devenv:latest in your command line with devenv:ubuntu

e.g if you were running the following to setup your dev env

docker run -v=$(pwd):/evidence-workspace -p=3000:3000 -it --rm evidencedev/devenv:latest

run it instead with

docker run -v=$(pwd):/evidence-workspace -p=3000:3000 -it --rm evidencedev/devenv:ubuntu

from docker-devenv.

ud3sh avatar ud3sh commented on July 20, 2024

Thanks @mgmorcos @AmsellemJoseph. Really appreciate you looking into this.

Sorry, forgot to build the test image with a multi platform option. In any case the amd64 image should be up
CleanShot 2023-10-01 at 16 49 33@2x

Pushed with this Dockerfile in case you still want to take a look.

RE:

✗ orders_by_month /evidence-workspace/node_modules/duckdb/lib/binding/duckdb.node: cannot open shared object file: No such file or directory.

@AmsellemJoseph did this work before with duckdb? I am curious how you are referencing the duckdb file. We had some setup instructions to access a typcial database running on a port your host instance on the main README.md file. i.e setting up your creds in settings using something like this would allow you to access a postgres instance running on the host machine.

## accessing postgres db running on host instance.
{
    "host": "host.docker.internal",
    "database": "yourDBname",
    "port": 5432,
    "user": "yourUsername"
}

This was from before we supported duck DB - haven't really given much thought about access a simple file on the host machine (it sounds like you are not using motherduck or any remote duckdb). As you might suspect, this devenv preceeds our support for duckdb and we haven't quite kept it up to date until you mentioned the issue.

from docker-devenv.

ud3sh avatar ud3sh commented on July 20, 2024

@mgmorcos @AmsellemJoseph

We will leave evidencedev/devenv:ubuntu hanging around for now, but you should be able to use evidencedev/devenv:latest going forward after pulling the latest.

from docker-devenv.

Related Issues (11)

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.