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

在执行sshme的时候出现错误 #267

Closed
txdy001 opened this issue Jun 10, 2024 · 9 comments
Closed

在执行sshme的时候出现错误 #267

txdy001 opened this issue Jun 10, 2024 · 9 comments

Comments

@txdy001
Copy link

txdy001 commented Jun 10, 2024

image

@txdy001
Copy link
Author

txdy001 commented Jun 10, 2024

有没有人遇到这个问题啊

@dyuyang
Copy link
Collaborator

dyuyang commented Jun 10, 2024

按照说明通过脚本创建容器的时候有报错吗

@txdy001
Copy link
Author

txdy001 commented Jun 10, 2024

按照说明通过脚本创建容器的时候有报错吗

这个没有出错,我在想是不是跟那个ssh免密登录有关,后面改了一大堆,包括重装了ubuntu虚拟机,但是执行那个sshme的时候还是会出现上述问题

@dyuyang
Copy link
Collaborator

dyuyang commented Jun 10, 2024

为啥是在root下执行

@txdy001
Copy link
Author

txdy001 commented Jun 10, 2024

为啥是在root下执行

不在root下命令直接会报错

@dyuyang
Copy link
Collaborator

dyuyang commented Jun 10, 2024

不在root下是报docker的错吗

@txdy001
Copy link
Author

txdy001 commented Jun 10, 2024

不在root下是报docker的错吗

image
甚至docker都没法启动

@dyuyang
Copy link
Collaborator

dyuyang commented Jun 10, 2024

在对应机器上执行sudo chmod 666 /var/run/docker.sock试试看
https://havenask.net/#/doc/v1-2-0/sql/petool/problem#%E5%88%9B%E5%BB%BA%E8%BF%9B%E7%A8%8B%E4%B8%8D%E6%88%90%E5%8A%9F

@txdy001
Copy link
Author

txdy001 commented Jun 10, 2024

在对应机器上执行sudo chmod 666 /var/run/docker.sock试试看 https://havenask.net/#/doc/v1-2-0/sql/petool/problem#%E5%88%9B%E5%BB%BA%E8%BF%9B%E7%A8%8B%E4%B8%8D%E6%88%90%E5%8A%9F

好的好的,我看到了,谢谢你的回答好兄弟,我尝试一下,我原打开过sshme文件,想过这个问题,发现用户就是dong,可能确实不能在root下执行

@dyuyang dyuyang closed this as completed Jun 11, 2024
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

2 participants