阅读背景:

Docker Registry 2.0启用CORS

来源:互联网 

for a project i need to communicate with a privat Docker Registry via AJAX Requests, but I get an error because of the "Same Origin Rule" and I should enable CORS. I managed to start the Docker Remote API with CORS enabled (flag: --api-enable-cors) is there any equivalent way to do this with a private Registry? Or is there another way to enable CORS when starting a private Registry? [EDIT: FYI - Registry and the mentioned Remote API are on different Machines]for a project i need to communicate with a priv




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: