# How to launch an app in docker

**URL:** <https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814>\
**Category:** Q&A\
**Created:** [24 February 2025 21:12 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814 "2025-02-24T21:12:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andersonhancco73](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/andersonhancco73/32/1127_2.png) [@andersonhancco73](https://community.ofelia.com/u/andersonhancco73)\
**Post date:** [24 February 2025 21:12 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814/1 "2025-02-24T21:12:30Z")

</div>

Does anyone know how I can deploy my project in docker please, I only use the community plan

---

<div class="post-metadata">

**Author:** ![nicolas.chabanoles](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/nicolas.chabanoles/32/721_2.png) [@nicolas.chabanoles](https://community.ofelia.com/u/nicolas.chabanoles)\
**Post date:** [6 May 2025 10:28 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814/2 "2025-05-06T10:28:02Z")

</div>

Based on the documentation it is as simple as using the right build command:  
mvn clean package -Pdocker -Dbonita.environment=local

For reference: [the official documentation](https://documentation.bonitasoft.com/bonita/latest/getting-started/package-and-deploy-sca-application#_application_build)

Hope this helps,  
Captain Bonita

---

<div class="post-metadata">

**Author:** ![jacob](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/jacob/32/1322_2.png) [@jacob](https://community.ofelia.com/u/jacob)\
**Post date:** [8 May 2025 09:45 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814/3 "2025-05-08T09:45:51Z")

</div>

I have just tried that, but the container refuses to start due to the BDM not being deployed.

The error message is “Unknown Business Object type ‘com.company.model.Claim’. Deploy a Business Data Model defining this type first.”

I have looked and it seems to be included in jar file being built by the maven

/Jacob

---

<div class="post-metadata">

**Author:** ![jacob](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/jacob/32/1322_2.png) [@jacob](https://community.ofelia.com/u/jacob)\
**Post date:** [8 May 2025 10:55 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814/4 "2025-05-08T10:55:06Z")

</div>

Ah, it must be run in the topmost folder of the project.

I cannot however see the claims application when accessing the server and login seems to fail but somehow still log users in.

---

<div class="post-metadata">

**Author:** ![jacob](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/jacob/32/1322_2.png) [@jacob](https://community.ofelia.com/u/jacob)\
**Post date:** [8 May 2025 11:25 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814/5 "2025-05-08T11:25:28Z")

</div>

and it was solved by installing the organization and setting up mappings to profiles.

See [Cannot login into Bonita (docker instance) with the users defined on the organization](http://community.ofelia.com/t/cannot-login-into-bonita-docker-instance-with-the-users-defined-on-the-organization/24034)

---

<div class="post-metadata">

**Author:** ![nicolas.chabanoles](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/nicolas.chabanoles/32/721_2.png) [@nicolas.chabanoles](https://community.ofelia.com/u/nicolas.chabanoles)\
**Post date:** [12 May 2025 14:54 UTC](https://community.ofelia.com/t/how-to-launch-an-app-in-docker/26814/6 "2025-05-12T14:54:50Z")

</div>

Good to read you managed to find the path to a the solution.
