How to disallow push to docker repository

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?

  • How to use/link remote postgres db with django docker implementation
  • StatusCode.UNAUTHENTICATED when running Vision API demo in Python/Flask running in Docker
  • Is it possible to isolate docker container in user-defined overlay network from outside internet?
  • “Plugging in” Docker Container to Host Network
  • Cannot type unicode in a ubuntu:14.04 container, can type just fine in busybox
  • Running Odoo behind nginx with docker
  • How to edit files in a Confluence docker container? There is no vim and apt-get in it
  • Why did my Docker Container did not work when the container UID is missing on the host?
  • dial unix /var/run/docker.sock: no such file or directory after upgrading to lxc-docker
  • Dockerfile dependency installed properly but resulting image doesn't have it
  • docker-machine scp - Copying data from one machine to another
  • Use environment variables in CMD
  • One Solution collect form web for “How to disallow push to docker repository”

    docker repo == docker registry?

    Not sure I get the full picture about your desired workflow, but here are two options:

    • Use registry authentication and make sure that only authorised people push
    • Configure networking / dns / hosts to resolve to the correct registry – e.g. docker-registry.mycompany.com resolves to the local registry for devs and to the remote registry for others.
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.