user@USER:~/path/to/osp$ docker build –tag container/containername:1.0.0 .
Sending build context to Docker daemon 85.31MB
Step 1/9 : FROM python:3.9
Get “”: proxyconnect tcp: x509: certificate signed by unknown authority

It is a message that I got on building docker image.

user@USER:~/path/to$ da
bash: da: command not found…
Failed to search for file: Failed to download gpg key for repo ‘mysql80-community’: Curl error (37): Couldn’t read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022 [Couldn’t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022]

Unusual message is occurred when I type any wrong command on terminal..

What happens on my machine..?

(I erased personal informations on logs)

OS : CentOS 8

First, yum install didn’t work so

I have tried add ca-bundle.crt on /etc/pki/tls/certs

because there are no ca-bundler.crt file.

I copied that file from similar server I have.

then yum install was fixed, but docker build didn’t.

New contributor

정승혁 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.