Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Thanks @Ramhound you pointed me in the right direction, the problem really was that we are using zscaler as an inteceptor, and inside the container there wasnt their ca certificate to validate, if you want to answer, i would accept.
No I didn't, @Ramhound , all I did was installing the ca-certificates, and I believe docker desktop loads my ca-certificates from the mac host.. should I install it? how can I manage to do it?