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

Installing using Docker #1

Closed
leendersf opened this issue Oct 6, 2021 · 3 comments
Closed

Installing using Docker #1

leendersf opened this issue Oct 6, 2021 · 3 comments

Comments

@leendersf
Copy link

Hello,

Installing using Docker gives this error:
Please type 'yes' or 'no': yes
Warning: Permanently added 'github.com,140.82.121.4' (RSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Can you please help me? It works fine using the public option.

@StevenReitsma
Copy link
Owner

I'm assuming you're trying to clone this project before you are building the Docker image? You will first have to create an SSH key to clone from GitHub (https://docs.github.com/en/authentication/connecting-to-github-with-ssh). Or you can clone using HTTP instead of SSH using git clone https://github.com/StevenReitsma/bnd-quotes.git.

@leendersf
Copy link
Author

It works, except for the final step:

docker run -it -p 80:80 bnd-quotes

It says:

Unable to find image 'bnd-quotes:latest' locally
docker: Error response from daemon: pull access denied for bnd-quotes, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

@StevenReitsma
Copy link
Owner

This is a pretty basic error. It means the image bnd-quotes is not present on your machine, which probably means you didn't execute the docker build step properly. Maybe there was an error while building or you forgot to include the --tag bnd-quotes flag. I just tested the snippet in the README and it still works fine, so please refer to the Docker docs for more information.

Repository owner locked as off-topic and limited conversation to collaborators Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants