# Different docker configuration / deploy selected image to device(s)

**URL:** <https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138>\
**Category:** balenaOS\
**Tags:** docker\
**Created:** [September 16, 2019, 12:34pm UTC](https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138 "2019-09-16T12:34:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mexekanez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mexekanez](https://forums.balena.io/u/mexekanez)\
**Post date:** [September 16, 2019, 12:34pm UTC](https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138/1 "2019-09-16T12:34:43Z")

</div>

How to ask Balena to deploy a particular solution or container?  
Docker provides some things like [https://docs.docker.com/compose/extends/](https://docs.docker.com/compose/extends/)  
SO I can using docker build some custom solutions based on one image (by adding override effect)), this is true for docker, can balena deploy (with override effect) the same way?

in general I need something like balena + nodered where user can create custom flows and this flows should be deployed to some devices, is this possible?

How can I select for balena what images deploy to what devices?

I think this topic can be usefull for all balena community

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![mexekanez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mexekanez](https://forums.balena.io/u/mexekanez)\
**Post date:** [September 16, 2019, 12:35pm UTC](https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138/2 "2019-09-16T12:35:53Z")

</div>

![image](https://global.discourse-cdn.com/balena/original/2X/3/3415404b2e574cda443ab828d3a5d26ce4ae6862.png)

---

<div class="post-metadata">

**Author:** ![dfunckt](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dfunckt/32/56_2.png) [@dfunckt](https://forums.balena.io/u/dfunckt)\
**Post date:** [September 16, 2019, 1:38pm UTC](https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138/3 "2019-09-16T13:38:30Z")

</div>

Hello, I’m not really sure I completely understand your question, but I’d start learning about how Balena can be used from [https://www.balena.io/docs/learn/welcome/primer/](https://www.balena.io/docs/learn/welcome/primer/)

---

<div class="post-metadata">

**Author:** ![mexekanez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mexekanez](https://forums.balena.io/u/mexekanez)\
**Post date:** [September 16, 2019, 1:47pm UTC](https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138/5 "2019-09-16T13:47:46Z")

</div>

obvious examples are passed for a long time ago for me…

So I need something like: user design some flow (flows.json for example to update device) and for this solution we need to build custom container and push to device. This flow described on diagram above

---

<div class="post-metadata">

**Author:** ![dfunckt](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dfunckt/32/56_2.png) [@dfunckt](https://forums.balena.io/u/dfunckt)\
**Post date:** [September 16, 2019, 2:21pm UTC](https://forums.balena.io/t/different-docker-configuration-deploy-selected-image-to-device-s/32138/7 "2019-09-16T14:21:11Z")

</div>

The reason I pointed you to that document is because answering “How can I select for balena what images deploy to what devices?” is the whole point of Balena. In any case, we have an example project that shows how to use Node RED on a device that wraps the Supervisor API: [https://github.com/balena-io-projects/balena-node-red](https://github.com/balena-io-projects/balena-node-red) – I’d start with that and also see how to use our API ([https://www.balena.io/docs/reference/api/overview/](https://www.balena.io/docs/reference/api/overview/)) to implement the nodes you need for the functionality you need exposed. Unless I misunderstand your question in which case you will have to clarify further.
