desktop-linux
desktop-linux copied to clipboard
Improve error message about expired certificate
Description
Apr 12 13:12:44 www dockerd[18273]: time="2024-04-12T13:12:44.182292024Z" level=error msg="Error from V2 registry: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/df/df9b9388f04ad6279a7410b85cedfdcb2208c0a003da7ab5613af71079148139/data?verify=1712930562-SaiouqD2IBOG0fqlkKUdcC1xyTc%3D: x509: certificate has expired or is not yet valid
From this message it is not clear which certificate was expired
Reproduce
- Some of system certificate was expired
- docker pull apline
- journalctl -u docker -f
Expected behavior
I expect to see the path to the expired certificate
docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 2c2c52b-dirty
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 2c2c52b-dirty
OS/Arch (server): linux/amd64
docker info
Containers: 0
Images: 0
Storage Driver: btrfs
Build Version: Btrfs v3.17.3
Library Version: 101
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.6-coreos-r1
Operating System: CoreOS 766.3.0
CPUs: 4
Total Memory: 15.68 GiB
Name: www
ID: TMGV:TSMI:IVVX:Z4W6:7NQA:YIRT:74TC:BLMU:V2EG:CNHE:SG3J:JHNS
Username: plenter
Registry: https://index.docker.io/v1/
Diagnostics ID
it is not available
Additional Info
No response