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

Pull Access denied for orbslam #2

Open
joeliven opened this issue Mar 25, 2018 · 4 comments
Open

Pull Access denied for orbslam #2

joeliven opened this issue Mar 25, 2018 · 4 comments

Comments

@joeliven
Copy link

Hi, thanks for setting up this repo, much appreciated!

Unfortunately though when I go to run sudo ./run.sh I get the following error:

Step 20/45 : RUN pip install numpy scipy
 ---> Using cache
 ---> 6f7309d230a7
Step 21/45 : ADD ./install/ssh-keys /root/.ssh
ADD failed: stat /var/lib/docker/tmp/docker-builder636356349/install/ssh-keys: no such file or directory
Removing older image...
Error: No such container: orbslam0
Running image...
Unable to find image 'orbslam:latest' locally
docker: Error response from daemon: pull access denied for orbslam, repository does not exist or may require 'docker login'.
See 'docker run --help'.
Template parsing error: template: :1: unexpected unclosed action in range
CONTAINER IP::
DOCKER IP::172.17.0.1
Error: No such container: orbslam0
DOCKER PUBLISHED PORT 22 -> ::
Host [172.17.0.1]: not found in /home/ubuntu/.ssh/known_hosts
Login password is: :
Bad port '[email protected]'

I've tried exporting SPASSWORD=source, but still doesn't seem to work.

Can you advise?
Thanks!

@syinari0123
Copy link

Hi, @schroeder-dewitt
Same problem here, any hints?

@djl11
Copy link

djl11 commented Aug 13, 2018

same problem here also

@djl11
Copy link

djl11 commented Aug 14, 2018

The key error is here: ADD failed: stat /var/lib/docker/tmp/docker-builder636356349/install/ssh-keys: no such file or directory

A quick google search revealed that this is a common problem with the latest docker, on account of paths now needing to be relative as opposed to absolute, in the latest docker version. For example this and this issue.

I therefore simply removed nvidia-docker2 and reinstalled nvidia-docker1. I also manually created the directory install/ssh-keys manually inside the pyORBSLAM2 directory. This seems to have fixed this particular error for me.

@KolinGuo
Copy link

KolinGuo commented May 1, 2019

This is because you don't have ssh-keys generated locally inside install/.
A way to fix it is to generate the ssh-keys while building the Docker image.
Change the block of commands inside Dockerfile to the following:
# Set up ssh keys in order to be able to checkout TorrVision
RUN apt-get -y install openssh-client
RUN mkdir /root/.ssh
RUN cd /root/.ssh
RUN ssh-keygen -q -t rsa -N '' -f /ssh-keys
RUN mv -v ssh-keys* ~/.ssh
RUN chmod -R 600 /root/.ssh
RUN ssh-keyscan github.com > ~/.ssh/known_hosts

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

4 participants