cannot access Docker remote registry

I am using docker from a Ubuntu VM. I set up an unsecure registry using the steps mentioned in this link. I can push & pull images from the registry in the host machine but I cannot access the registry from another machine in the same network.

I have done the following –

  • can't write ñ, ä, ë, ü in a ubuntu docker container
  • use docker containers to simulate one network on different machine
  • Install Docker Toolbox on a Mac via command line
  • Docker php excel error (php://output) i/o stream
  • Connection reset: set up Oracle SSL in docker
  • Docker overlay network doesn't clean up removed containers
    1. Edited the /etc/default/docker and edited the DOCKER_OPTS as follows –

      DOCKER_OPTS="--insecure-registry cmrepo.com:5000"

    2. Restarted the VM .

    3. Started the registry as follows –

      docker run -d -p 5000:5000 --name registry registry:2

    Everything works as expected till this point . I can pull/push images into the registry.

    Now how do I access the registry from another machine . I tried adding an ip-host entry (10.216.20.14 cmrepo.com) in the /etc/hosts file but it din’t help. I can ping 10.216.20.14 from the remote machine but cannot access the registry.

    Can someone point out what is it that I am doing wrong or need to do more?

  • Communication between linked docker containers over http for api gateway
  • changing transparent_hugepage in docker
  • docker the docker registry (a private installation of it) use https (tls/ssl)
  • Jenkins mesosphere/jenkins-dind:0.3.1 and proxy
  • Docker mysql container cannot use a data volume defined on startup
  • Docker driver for Openstack
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.