Software components and versions used.
- MuleSoft Kernel(without Anypoint Studio) Version: 4.2.0
- JDK Version: Open JDK 1.8
Information about Mule Runtime Docker image creation, container creation, execution and deletion.
- Docker Version 17.12+
- Download the MuleSoft Kernel: 4.2.0 https://developer.mulesoft.com/download-mule-esb-runtime
- Rename the zip file to: mule-standalone-VERSION.zip
- It must be placed at the Dockerfile label.
- Run:
$> ./build_image.sh {image_tag}Example:./build_image.sh 1.0
-
Run:
sudo ./run_container.sh {image_tag}Example:
./run_container.sh 1.0 -
Start the Mule Kernel the Container.
docker exec -it {mule_container_name} /opt/mule/bin/mule start
- Look for the Container Name and Id to remove:
docker ps -a - Stop the runtime:
docker exec -it {mule_container_name} /opt/mule/bin/mule stop - Stop the container:
docker container stop {container_id} - Remove the container:
docker container rm --force {container_id}Example:docker container rm b25aabb8787c - Verify the Container has been effectively removed:
docker ps -a
-
List Docker images:
$> docker image ls -
Remove Docker Image:
$> docker image rm --force {image_id}Example:
$> docker image rm --force 73e701c1401c
These assets are related to the following resources: