DEV Community

How to Run Mule 4 In Docker Container

Manik Magar on February 18, 2018

Recently I updated javastreets/mule docker image to Mule ESB 4.1.0 Community version. In this post, we will run a Hello Mule 4 application in Doc...
Collapse
 
pruggera profile image
Phil Ruggera

Let's say I want to run 500 Mule apps. How would we reduce the RAM consumption due to all those JVMs and Mule ESBs running in all those containers?

Collapse
 
isenseem profile image
Isenseem

Hi, Im new to Anypoint and Docker.

How can I "execute sh buildAndRun.sh." ?
I would like to execute it in a termial, but I wasn´t able to find one in Anypoint.

Or should we use PowerShell an follow the path in the project directory?

Collapse
 
mickaelbaye profile image
Mickaël B

Hello. I tried the example and it's not working. We can see in the logs that mule server is started but the application is not deployed.

Collapse
 
manikmagar profile image
Manik Magar

Hi Mickael,

I just tried it by following the steps in the post and application started -

 ✝  git/mule4-examples/say-hello-mule4-docker   master  curl http://localhost:8081/test/hello
Hello from Mule ESB (Version: 4.1.1). I am running inside docker image javastreets/mule.%

Collapse
 
mickaelbaye profile image
Mickaël B

Hello again. It was a mistake on my side.
This is great! :)

Thread Thread
 
manikmagar profile image
Manik Magar

Glad to know that you found it helpful!