# Upgrade container with image build on deployment

**URL:** <https://forums.suse.com/t/upgrade-container-with-image-build-on-deployment/5364>\
**Category:** Rancher 1.x\
**Created:** [January 31, 2017, 5:58am UTC](https://forums.suse.com/t/upgrade-container-with-image-build-on-deployment/5364 "2017-01-31T05:58:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weekend\_at\_bernies](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/weekend_at_bernies/32/7900_2.png) [@weekend\_at\_bernies](https://forums.suse.com/u/weekend_at_bernies)\
**Post date:** [January 31, 2017, 5:58am UTC](https://forums.suse.com/t/upgrade-container-with-image-build-on-deployment/5364/1 "2017-01-31T05:58:20Z")

</div>

I have a stack with various containers, some are sourced directly from Dockerhub, whilst others are built during deployment, i.e image: or build: in the docker-compose file. Is there a way that a container created from a build: command can be upgraded? The only option seems to be for direct image replacement using the Upgrade option.

---

<div class="post-metadata">

**Author:** ![weekend\_at\_bernies](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/weekend_at_bernies/32/7900_2.png) [@weekend\_at\_bernies](https://forums.suse.com/u/weekend_at_bernies)\
**Post date:** [August 6, 2017, 10:21pm UTC](https://forums.suse.com/t/upgrade-container-with-image-build-on-deployment/5364/2 "2017-08-06T22:21:48Z")

</div>

Is there any information on this yet?
