Linux Container - No such file or directory #866
Replies: 5 comments
-
no |
Beta Was this translation helpful? Give feedback.
-
Thk for the response......So I need to install all gcloud cli into my container?. Is there no other way?, because I think that will make my current image too heavy. |
Beta Was this translation helpful? Give feedback.
-
The specific error that you are seeing is that you are missing If you are running in Kubernetes, you may be able to use the service account credential that is mounted into the Pod. If you use |
Beta Was this translation helpful? Give feedback.
-
TODO |
Beta Was this translation helpful? Give feedback.
-
Thanks @brendandburns, I am using the service account credentials. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am using the library in a linux container, but when it is running it is throwing me the following exception message "No such file or directory" and the Stack trace says the following
Something important to mention is that when I run it locally from my laptop (windows 10) I don't have any problems, since I can connect to the cluster and list the K8S objects.
This is the code I use to make the connection
These are the docker images used
As I repeat this works for me locally, but when it is deployed in a linux container I have that exception. I hope you can help me with the problem. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions