# Rancher without Docker registry?

**URL:** <https://forums.suse.com/t/rancher-without-docker-registry/3663>\
**Category:** Rancher 1.x\
**Created:** [August 10, 2016, 11:38am UTC](https://forums.suse.com/t/rancher-without-docker-registry/3663 "2016-08-10T11:38:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Upayavira](https://avatars.discourse-cdn.com/v4/letter/u/ba8739/32.png) [@Upayavira](https://forums.suse.com/u/Upayavira)\
**Post date:** [August 10, 2016, 11:38am UTC](https://forums.suse.com/t/rancher-without-docker-registry/3663/1 "2016-08-10T11:38:07Z")

</div>

Is it possible to use Rancher without a Docker registry?

I’m sure I had this work a some months ago, but it fails now. I’d like to use Docker to build an image using a VM that is connected to a local Rancher. Once the image is built, rancher-compose should be able to deploy that image, without looking for it on a remote registry.

At present, even though the image is available on the rancher node, it fails to install because it attempts to pull it from a registry.

(Note, this is for development of multi-service stacks - running the stack locally, without having to push the image for each test run).

---

<div class="post-metadata">

**Author:** ![sra](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sra/32/1514_2.png) [@sra](https://forums.suse.com/u/sra)\
**Post date:** [August 10, 2016, 2:45pm UTC](https://forums.suse.com/t/rancher-without-docker-registry/3663/2 "2016-08-10T14:45:40Z")

</div>

Do you have the “always pull image” checkbox checked or `io.rancher.container.pull_image=always` set as a label in the compose file?

---

<div class="post-metadata">

**Author:** ![Upayavira](https://avatars.discourse-cdn.com/v4/letter/u/ba8739/32.png) [@Upayavira](https://forums.suse.com/u/Upayavira)\
**Post date:** [August 10, 2016, 3:02pm UTC](https://forums.suse.com/t/rancher-without-docker-registry/3663/3 "2016-08-10T15:02:48Z")

</div>

That’s both obvious, and wonderful too! Yes, I did have always pull set. Many thanks, 'tis working wonderfully now!

---

<div class="post-metadata">

**Author:** ![cocorodeo](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@cocorodeo](https://forums.suse.com/u/cocorodeo)\
**Post date:** [November 8, 2017, 2:04pm UTC](https://forums.suse.com/t/rancher-without-docker-registry/3663/4 "2017-11-08T14:04:44Z")

</div>

Hi,

I’m experiencing the same problem I think :

I have some developement VM with docker containers on it. Those containers are built locally thanks to local Dockerfiles.  
Those dockerfiles are referenced as build contexts in ymls.  
When I try to build my stacks via rancher-compose, Rancher keeps trying to build my containers with S3 provider …

“Uploading build for my container using provider S3”

The result is that the build fails :

“Failed Creating mailcatcher : NoCredentialProviders: no valid providers in chain”

I’v tried to add labels as suggested but no way.

Is it possible to build locally without S3 with rancher ?

Thanks a lot …
