Pipeline for jenkins на pull image private docker registry

Good day! Please share the pipeline, stage, jenkins for pull images from the private docker repository. At the same time, jenkins and the registry with docker on different hosts. I figured out how to upload the image to the repository, but pull cannot be done correctly.