# How to start container using a local image?

**URL:** <https://forums.suse.com/t/how-to-start-container-using-a-local-image/1532>\
**Category:** Rancher 1.x\
**Created:** [January 25, 2016, 10:15pm UTC](https://forums.suse.com/t/how-to-start-container-using-a-local-image/1532 "2016-01-25T22:15:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathop](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/mathop/32/810_2.png) [@mathop](https://forums.suse.com/u/mathop)\
**Post date:** [January 25, 2016, 10:15pm UTC](https://forums.suse.com/t/how-to-start-container-using-a-local-image/1532/1 "2016-01-25T22:15:03Z")

</div>

Hello!

I’m using RacherOS + Rancher in my development environment with **docker-machine**. I’d like to know if there’s any way to start a new container using a local image.

When I build a new image locally, I can see it running **docker images**. When I try to create a new container in Rancher (web app) using the image’s name that I created locally, it says that the pull failed.

---

<div class="post-metadata">

**Author:** ![RVN\_BR](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/rvn_br/32/2842_2.png) [@RVN\_BR](https://forums.suse.com/u/RVN_BR)\
**Post date:** [January 26, 2016, 1:39pm UTC](https://forums.suse.com/t/how-to-start-container-using-a-local-image/1532/2 "2016-01-26T13:39:09Z")

</div>

I believe that you need to build it using rancher-compose inside a stack (even if its a singles service), and using the S3 build method…

[http://docs.rancher.com/rancher/rancher-compose/build/](http://docs.rancher.com/rancher/rancher-compose/build/) this can help you with the steps… you will need an AWS account and S3 activated key.

Later versions did not support upgrade on a service build from S3, I am downloading the latest but I’m not sure if the bug was fixed… According to two bugs around this issue, it wasnt fixed, although has a targe milestone of 1/27, which would be yesterday? not sure how that is going at this point. [https://github.com/rancher/rancher/issues/3325](https://github.com/rancher/rancher/issues/3325) & #2666. It doesnt prevent you from testing it out, but it will require you erase and rebuild the project whenever you need to update.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [January 26, 2016, 9:48pm UTC](https://forums.suse.com/t/how-to-start-container-using-a-local-image/1532/3 "2016-01-26T21:48:12Z")

</div>

FYI, typically the milestones indicate when the first RC of that release will be cut and we aim to release it within a week after.

The issues with build and rancher-compose have not been addressed, but we’re hoping to do it in an upcoming release of rancher-compose as we know it’s an issue.
