snoopysecurity / dvws-node

Damn Vulnerable Web Services is a vulnerable application with a web service and an API that can be used to learn about webservices/API related vulnerabilities.
GNU General Public License v3.0
455 stars 177 forks source link

docker-compose up #60

Open ddol31721 opened 6 months ago

ddol31721 commented 6 months ago

pull access denied for snoopysecurity/dvws-node, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

AbdelatifAitBara commented 6 months ago

Hi,

You could just run docker-compose up -d inside the project folder, to deploy the solution on your local machine.

ddol31721 commented 6 months ago

Hi,

You could just run docker-compose up -d inside the project folder, to deploy the solution on your local machine.

I have already run it, but it still shows like this:

pull access denied for snoopysecurity/dvws-node, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

ddol31721 commented 6 months ago

Hi,

You could just run docker-compose up -d inside the project folder, to deploy the solution on your local machine.

Oh, but thank you, the engine is still running and it works!

ddol31721 commented 6 months ago

Hi,

You could just run docker-compose up -d inside the project folder, to deploy the solution on your local machine.

docker-compose up -d

pull access denied for snoopysecurity/dvws-node, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

snoopysecurity commented 2 months ago

Hi @ddol31721 sorry for the late reply, this was fixed with commit https://github.com/snoopysecurity/dvws-node/commit/5408b14aab51af3a6d6698e8117f26d2ce6bb37b, if you clone the latest version of dvws-node and try docker-compose up -d, you shouldn't see any errors. let me know if it works

HelloWorld20240418 commented 1 month ago

docker-compose up -d时报错: => ERROR [6/8] RUN npm install --build-from-source 546.9ss


[6/8] RUN npm install --build-from-source: 546.8 npm ERR! code ERR_SOCKET_TIMEOUT 546.8 npm ERR! errno ERR_SOCKET_TIMEOUT 546.8 npm ERR! network request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: Socket timeout 546.8 npm ERR! network This is a problem related to network connectivity. 546.8 npm ERR! network In most cases you are behind a proxy or have bad network settings. 546.8 npm ERR! network 546.8 npm ERR! network If you are behind a proxy, please make sure that the 546.8 npm ERR! network 'proxy' config is set properly. See: 'npm help config' 546.8 546.8 npm ERR! A complete log of this run can be found in: 546.8 npm ERR! /root/.npm/_logs/2024-10-11T06_49_10_676Z-debug-0.log

Dockerfile:6

4 | RUN apt-get update && apt-get install -y git build-essential --no-install-recommends 5 | COPY . . 6 | >>> RUN npm install --build-from-source 7 | ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait 8 | RUN chmod +x /wait

ERROR: failed to solve: process "/bin/sh -c npm install --build-from-source" did not complete successfully: exit code: 1 ERROR: Service 'web' failed to build : Build failed

dave-shanahan commented 1 month ago

@HelloWorld20240418 you're receiving a socket timeout on the yocto-queue package. Try access the URL in your browser to see if it's blocked: https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz

I've confirmed that I can access that URL so I believe this is a client issue on your side.