We provide a Docker image ready to launch a standalone Petals ESB container. It can be downloaded from Docker hub. Launching the Petals ESB containerPre-requisitesIt is assumed Docker is already installed on your machine. Downloading the Docker image of Petals ESB containerType in the following command: docker pull petals/petals-esb-container:5.1.0 Starting Petals ESBType in: docker run -d -p 7700:7700 -p 7800:7800 --name petals petals/petals-esb-container:5.1.0
Working with Petals ESB containerConnecting to Petals ESBYou can connect with usual tools: Petals CLI or Petals Cockpit, or you can also use basic tools as JConsole or VisualVM using the JMX URL: service:jmx:rmi:///jndi/rmi://<docker-container-ip>:7700/PetalsJMX, with petals/petals as credentials. To get the IP adress of the Docker container, type in: docker inspect petals | grep \"IPAddress\" Getting Petals logsType in: docker logs petals to watch Petals logs. Introspecting the Docker containerType in: docker exec -ti petals /bin/bash. Stopping and restarting PetalsUse docker stop petals to stop the container and docker start petals to relaunch it. Deleting the Docker containerUse docker rm -f petals to stop and delete the Docker container. |
Table of contents Contributors
No contributors found for: authors on selected page(s)
|