Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker is not working #283

Open
karamjeetdotnet opened this issue Oct 12, 2024 · 2 comments
Open

docker is not working #283

karamjeetdotnet opened this issue Oct 12, 2024 · 2 comments

Comments

@karamjeetdotnet
Copy link

docker is not working with npm run local.

I tried to connect to docker image could not connect, i need mysql db connection properties like url, username, password

[email protected] docker:start
DB_PORT=3002 ./bin/start-docker.sh

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.46/containers/banidb-api/json": dial unix /var/run/docker.sock: connect: permission denied
Starting docker container
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.46/containers/banidb-api/start": dial unix /var/run/docker.sock: connect: permission denied
Error: failed to start containers: banidb-api
Waiting for container to be up (attempt: 1)...
Waiting for container to be up (attempt: 2).

@JapnitS
Copy link

JapnitS commented Oct 12, 2024

Looks like a permission issue on your local machine. Can you try running commands with sudo access?

Look at this stack overflow post

@karamjeetdotnet
Copy link
Author

now its showing timeout, do you have any db backup file, if its open source can you provide me any link to it

Screenshot from 2024-10-19 01-44-09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants