Rancher can pull images from private registry

I have create a private registry by harbor.
but when I use rancher to update a container, rancher can not pull images.
before this registry.ziztour.com is normal operation.

Rancher registries:
rancher registryies

  • Run Jenkins Job in a container
  • How to open/run YML compose file?
  • How do I extend a default docker image command without interrupting the default behaviour
  • App running in Docker container on port 4567 can't be accessed from the outside
  • Keep gitlab build running after build
  • How to check if a process is running inside docker container
  • Error:
    error

    Manually pull my private registry image successful:

    rancher v1.1.0
    docker v1.11.2

  • outcome of Running two dockerfiles
  • Docker bundle install cache issues when updating gems
  • Should I containerize a standalone command-line or terminal application which requires 16 vCPU?
  • dockerized django: static tag in templates not detecting the present static files
  • Docker crash test with many containers of the same image
  • Failed to remove docker images whose tag are <none>
  • One Solution collect form web for “Rancher can pull images from private registry”

    Better late than never, but when I had issues pulling from a secure registry I solved the issue by creating/modifying the etc/docker/daemon.json file on the rancher server and all rancher hosts and adding the following.

    {
    "insecure-registries" : [
    "<registry-1-ip>",
    "<registry-2-ip>"
    ]
    }
    

    Once you’ve done this run sudo service docker restart

    When you add the ip’s leave the http:// or https:// off.

    Make sure you do this on all your rancher hosts as well as on the rancher server, otherwise it won’t work.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.