i have to setup a docker container with git and cml.yaml file inside. So i have the container and i did run with -p 3000:3000, i started with git remote add origin IP_adress_container:/myFile
and when i did from my local machine git push origin master i get an error:
ssh: connect to host 172.17.0.2 port 22: Connection timed out fatal: Could not read from remote repository
Please make sure you have the correct access rights and the repository exists.
So, how i can to fix that? how i can use git push from my local machine to my container. Ho to set up the command line: git remote add origin "container"?
https://stackoverflow.com/questions/66513090/git-remote-add-origin-docker-container March 07, 2021 at 12:06PM
没有评论:
发表评论