![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
docker
许愿35岁退休
这个作者很懒,什么都没留下…
展开
-
错误:Got permission denied while trying to connect to the Docker daemon socket at....
用JSch实现远程执行docker命令报错: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/nova-627e13b3-0原创 2017-08-14 17:04:07 · 44200 阅读 · 4 评论 -
错误:the input device is not a TTY
使用JSch远程ssh到Linux服务器上执行docker命令:sudo docker exec -it nova-627e13b3-06b0-49e6-8cb9-8b649a9a8c93 ls一直报错:the input device is not a TTY在stackflow上查到,命令中去掉t 错误解决命令改为:sudo docker exec -i nova-627e13b3-06b0-4原创 2017-08-15 09:22:52 · 21808 阅读 · 3 评论