GithubHelp home page GithubHelp logo

Comments (5)

yongjhih avatar yongjhih commented on June 5, 2024

Did you try the following commands?

$ docker exec -i parse-server ssh-add-key < ~/.ssh/id_rsa.pub # add ssh-key for auth
$ git clone ssh://git@localhost:2022/parse-cloud-code # clone via specific port of ssh

from docker-parse-server.

oblank avatar oblank commented on June 5, 2024

yes, but useless
the difference is my docker instance is running on a remote server, and ssh-key is my local Mac's
git command be run on my local machine.

from docker-parse-server.

yongjhih avatar yongjhih commented on June 5, 2024

Steps of git deploy on remote:

  1. Generate Mac's ssh key if not exsit, on Mac: $ ssh-keygen
  2. Copy Mac's ssh key to clipboard, on Mac: $ cat ~/.ssh/id_rsa.pub
  3. Add Mac's ssh key (paste from clipboard), on docker-host: $ echo "ssh-rsa AAAAB3...XXX== your@mac" | docker exec -i parse-server ssh-add-key
  4. git clone parse-cloud-code, on Mac: $ git clone ssh://git@{docker-host-ip}:2022/parse-cloud-code

from docker-parse-server.

oblank avatar oblank commented on June 5, 2024

same error.
finally I run docker instance on local machine, success with no any strange error. confused

thx.

from docker-parse-server.

katopz avatar katopz commented on June 5, 2024

duplicated? #77 (comment)

from docker-parse-server.

Related Issues (20)

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.