# Edge compute containers

**URL:** <https://forums.losant.com/t/edge-compute-containers/3180>\
**Category:** Help\
**Tags:** edge\
**Created:** [August 7, 2020, 7:34pm UTC](https://forums.losant.com/t/edge-compute-containers/3180 "2020-08-07T19:34:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 7, 2020, 7:34pm UTC](https://forums.losant.com/t/edge-compute-containers/3180/1 "2020-08-07T19:34:52Z")

</div>

I’m running docker and a losant edge agent talking to a Losant application on a Ubuntu 20 sever.  
Is there a reason why I couldn’t have a second agent running as a docker as part of a different losant application?

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [August 7, 2020, 9:18pm UTC](https://forums.losant.com/t/edge-compute-containers/3180/3 "2020-08-07T21:18:30Z")

</div>

Hey @Lars_Andersson,

Just so I understand question, you’re intending to run 2 docker containers on the same machine, both running the Losant Edge Agent?

If this is the case, there would be no issue, but there are some things to note:

- If enabling the webserver for these agents, you will need to ensure that unique ports are used for each container.
- Each container will need to have a unique name.
- Both containers cannot share credentials, i.e. they cannot share the same `id` in the config file.

Let me know if you have any other questions!

Thank you,  
Heath
