How to disallow push to docker repository

时间:2015-10-30 22:46:40

标签: docker repository push

I am currently setting up a local cluster at my work using docker. Basically everything works fine, the only thing I worry about is, that other devs that use my setup may eventually push the local builds to a remote repository.

Since this would be a catastrophe because we are not allowed to upload the companies artefacts anywhere else than internal servers - is there a way to prevent other users from pushign to a remote docker repo?

1 个答案:

答案 0 :(得分:1)

  

docker repo == docker registry?

我不确定如何全面了解您所需的工作流程,但这里有两个选项:

  • 使用注册表authentication并确保只有授权人员才能推送
  • 配置网络/ DNS /主机以解析到正确的注册表 - 例如docker-registry.mycompany.com解析为devs的本地注册表和其他人的远程注册表。
相关问题