Comments (3)
On Windows using PowerShell the command in the readme won't work:
docker run -v=$(pwd):/evidence-workspace -p=3000:3000 -it --rm evidencedev/devenv:latest --init
You need to replace $(pwd)
with a path e.g
docker run -v=D:\evidence:/evidence-workspace -p=3000:3000 -it --rm evidencedev/devenv:latest --init
from docker-devenv.
Hi @miorioUR, looking at your first two screenshots on top, I suspect that your docker container cannot access the web?
I installed Docker using Docker desktop, and by default, the containers have web access via the host https://www.docker.com/products/docker-desktop/
Alternatively, if the reason for you using docker is because you can't run multiple evidence projects on port 3000
(for comparison like you say), you can specify a custom port when you startup an evidence project. Eg if you'd like to start it on port 3001
instead of 3000
, you can do the following.
npm install && npm run dev -- --port 3001
from docker-devenv.
I am already working with local evidence. I just want to have it on docker for research purposes and thesis documentation/comparisons. In case this turns complex, dont worry about getting this issue closed, i can take this topic apart.
I always use Docker Desktop as my default docker launcher.
I work on Windows but with a Linux console. That console have problems with web access. For example, in order to use DNS services i can rely on echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
and not using 0.0.0.0 (as it doesnt work) but this conf doesn't help in this context.
Thats why i tried from powershell too, where this web access problem doesn't happen, but in this casse i keep ending at
Running command => npm install && npm run dev -- --host 0.0.0.0
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /evidence-workspace/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/evidence-workspace/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Hope this info is useful or makes it easier. Thanks for the attention
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
- 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
- Official image and default project template broken HOT 8
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.