win10 使用 docker desktop 配置为
{
"builder": {
"gc": {
"defaultKeepStorage": "20GB",
"enabled": true
}
},
"debug": true,
"experimental": true,
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://docker.imgdb.de",
"https://docker-0.unsee.tech",
"https://docker.hlmirror.com",
"https://docker.1ms.run",
"https://func.ink",
"https://lispy.org",
"https://docker.xiaogenban1993.com"
]
}
就是简单换成国内的源。
点击 apply & restart 后运行 docker search redis 失败

但是docker pull redis 成功

想知道原因 ,毕竟有时候安装东西版本很重要,还想search查版本呢……