Portainer.io 2.9.1 获取 X-Registry-Auth 值的请求
在 Portainer.io 2.9.1 中,可以通过以下 GET 请求获取到 X-Registry-Auth 的值:
GET /api/endpoints/{endpointId}/docker/registries/{registryId}
其中,{endpointId} 是指所连接的 Docker 环境的端点 ID,{registryId} 是指注册表(Registry)的 ID。这个请求将返回注册表的详细信息,包括 X-Registry-Auth 的值。
原文地址: https://www.cveoy.top/t/topic/p8aL 著作权归作者所有。请勿转载和采集!