Comments (8)
Hey, I have the same problem, I'm running on linux/arm64.
Thanks for your responses. 😊
from docker-devenv.
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.
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.
@ud3sh TY it's working for me now 🙏
from docker-devenv.
hey @ud3sh,
my bad, I misconfigured something, maybe missclick 😅.
Thanks a lot for your work, seems to work now.
from docker-devenv.
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.
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
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.
- evidencedev/devenv is now based on ubuntu and supports all DBs including Duckdb
- evidencedev/devenv-lite is alpine based and supports all the DBs excluding DuckDB.
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)
- 403 forbidden when changing database HOT 4
- Bind mounted workspace not editable in host.
- the container fails, node:events:491 HOT 1
- Got this error When i run "docker run -v=$(pwd):/evidence-workspace -p=3000:3000 -it --rm evidencedev/devenv:latest --init" HOT 1
- NPM error on container start. HOT 1
- --init command should take a parameter for the project directory (or prompt for it) HOT 1
- I cant make my docker installation work HOT 3
- Add a linux/arm64 image for M1/M2 Macs HOT 4
- Docker Dev Env doesn't work with the latest vite update
- [BUG] DuckDB users require python installed on devenv HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-devenv.