Docker-Distribution: cannot pull from different machine (FATA[0000] Error: image sample-web-app:latest not found)

I’ve installed a private docker repository with the docker distribution registry (not the old docker-registry). I can query the api from another machine and see the my pushed image, but I can’t pull it.

On machine A I have installed a docker distribution container:

  • What's causing authentication error when pushing Docker image to Google Container Registry?
  • Error building syntaxnet using Dockerfile
  • Dockerfile for cloning private git repo
  • how do i backup a database in docker
  • HTTP Request from Dockerfile not successful
  • Docker CMD weirdness when ENTRYPOINT is a shell script
  • sudo docker run --name=registry --restart=always -d -p 5000:5000 registry:2.0

    I’ve created and pushed my image on machine A.

    $ sudo docker push
    The push refers to a repository [] (len: 1)
    ab8ada80460c: Image already exists 
    efe2cfd1b891: Image successfully pushed 
    5a1f4c3d95f7: Image successfully pushed 
    2f20cd8c82e9: Image successfully pushed 
    6996ab83c944: Image successfully pushed 
    f11858d1ad30: Image successfully pushed 
    77820c2410c3: Image already exists 
    8f4c453a5ccf: Image successfully pushed 
    78214790fb9d: Image already exists 
    5ab0027638b0: Image already exists 
    78e0f5c7f8cc: Image successfully pushed 
    75631aa15af4: Image successfully pushed 
    8d2d7c43813c: Image successfully pushed 
    389061f16e00: Image successfully pushed 
    66e6b2b8450d: Image successfully pushed 
    22ffb090109d: Image successfully pushed 
    41f8e45936c6: Image successfully pushed 
    fd15f8f632ed: Image successfully pushed 
    e7e61dab0443: Image successfully pushed 
    facfdaf41727: Image already exists 
    07f8e8c5e660: Image already exists 
    37bea4ee0c81: Image successfully pushed 
    a82efea989f9: Image successfully pushed 
    e9e06b06e14c: Image successfully pushed 
    Digest: sha256:bcb172fe60efa418b8f0240346314a43a74f841882653a30e372c2d59a84dfe6

    Then I deleted the local image on machine A.

    $sudo docker rmi
    Deleted: ab8ada80460c055c637b77691f1dbe67e6377c29dfd06c820596f0247dd401f1
    Deleted: efe2cfd1b891d94ab99b82c0d661b3af9d22a216379de596836bb365b618653a
    Deleted: 5a1f4c3d95f72c3b50bd2e3df477cdb6e3e1793d8b96199572fba075a197a642

    I pulled the image successfully on machine A.

    $ sudo docker pull
    latest: Pulling from
    5a1f4c3d95f7: Pull complete 
    efe2cfd1b891: Pull complete 
    ab8ada80460c: Already exists 
    e9e06b06e14c: Already exists 
    a82efea989f9: Already exists 
    37bea4ee0c81: Already exists 
    07f8e8c5e660: Already exists 
    facfdaf41727: Already exists 
    e7e61dab0443: Already exists 
    fd15f8f632ed: Already exists 
    41f8e45936c6: Already exists 
    22ffb090109d: Already exists 
    66e6b2b8450d: Already exists 
    389061f16e00: Already exists 
    8d2d7c43813c: Already exists 
    75631aa15af4: Already exists 
    78e0f5c7f8cc: Already exists 
    5ab0027638b0: Already exists 
    78214790fb9d: Already exists 
    8f4c453a5ccf: Already exists 
    77820c2410c3: Already exists 
    f11858d1ad30: Already exists 
    6996ab83c944: Already exists 
    2f20cd8c82e9: Already exists 
    Digest: sha256:bcb172fe60efa418b8f0240346314a43a74f841882653a30e372c2d59a84dfe6
    Status: Downloaded newer image for

    I can reach the registry running on a container on machine A from machine B, but I cannot pull from it.

    $ curl
    $ docker pull
    Pulling repository
    FATA[0000] Error: image sample-web-app:latest not found
    $ docker version
    Client version: 1.5.0
    Client API version: 1.17
    Go version (client): go1.3.3
    Git commit (client): a8a31ef-dirty
    OS/Arch (client): linux/amd64
    Server version: 1.5.0
    Server API version: 1.17
    Go version (server): go1.3.3
    Git commit (server): a8a31ef-dirty

  • Containers dependency with etcd keys
  • unable to run docker container (image size 9 GB) from AWS instance
  • ssh-add does not work inside docker image
  • Configure Dockerfile to set AWS configurations
  • Using SemanticUI with Docker
  • How can I let the gitlab-ci-runner DinD image cache intermediate images?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.