Coder Social home page Coder Social logo

Comments (3)

mheptinstall avatar mheptinstall commented on June 21, 2024 1

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.

ud3sh avatar ud3sh commented on June 21, 2024

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.

miorioUR avatar miorioUR commented on June 21, 2024

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)

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.