

使用 docker 下载代码提示 key 报错问题请教
source link: https://www.v2ex.com/t/868155
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

16.04 系统安装 docker 20.10.7 , 导入镜像 Image1:sudo docker load –input ~/Download/sd_build_docker.tar.gz 新建容器 xxx 挂载在共享目录 docker:sudo docker run -i -t -d -v /home/docker:/host –name sd_build sb_build_3 /bin/bash 启动 bash:sudo docker exec -it xxx /bin/bash 新建文件夹 file1 加入 key , 下载代码 Code1 ,编译成功
在共享目录 docker 下新建文件夹 file2 下载代码 Code2: git clone ssh://[email protected]:29418/buildsystem.git -b yyy 提示 key 报错: Cloning into 'buildsystem'... Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
我不用 docker 直接在 ubuntu 系统上下载代码是正常的没有报 key 的错误,请问这个是什么原因? 如何解决?
Recommend
-
13
Java程序运行报错,提示"必须声明一个命名包",用的是eclipse的JavaSE-15,不胜感激!...
-
13
10 March 2021 / docker #docker 登录私有docker镜像库报错:server gave HTTP response to HTTPS client 在内网通过gitlab搭建了一个docker镜像...
-
4
宝塔面板环境下 Docker 报错问题的解决 Z i k i n 青春大概如你所说 宝塔面板环境下 Docker 报错问题的解决 2021-8-30 17:16
-
8
Android Studio错误代码不提示问题解决 – Android开发中文站你的位置:Android开发中文站 > Android开发 >
-
8
解决WordPress报错提示”发布失败。错误信息:此响应不是合法的JSON响应。”
-
4
服务器上的 Docker 是 1.13 版本的有点老了,于是打算升级一下; 结果发现加入了 Docker 源之后使用 yum 安装报错了…,这里总结一下; centos7中使用yum安装docker报错解决方法
-
7
V2EX › Java 求教 Java 大佬,这是什么报错?下载报错还是解压报错?和 Java 版本或者解压软件有没有关系?
-
10
python代码报错No module named numpy问题 精选 原创 1 一般在“控制面板+cmd”中...
-
6
【踩坑】Docker 下载镜像时报错 捕捉一只爱折腾的绯鞠 ...
-
8
【踩坑】pip 下载依赖时报错 捕捉一只爱折腾的绯鞠 美人画卷 - 大神慧 青山常伴绿水
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK