This container creates a new volume called opereto-agent that includes the agent .jar file and the JRE directory to run it from. Mounting this volume allows running the agent from any pre-defined container w/o changing anything in the container structure.
docker run -it -v opereto-agent:/opereto-agent some_docker_container
docker exec the CONTAINER_ID /opereto-agent/jre/bin/java -XX:MaxPermSize=128m -XX:MinHeapFreeRatio=15 -XX:MaxHeapFreeRatio=30 -Xms128m -Xmx256m -jar /opereto-agent/opereto-agent-latest.jar -host https://OPERETO_SERVER -name AGENT_NAME -u USERNAME -p PASSWORD -loglevel info -log console &
Content type
Image
Digest
Size
314.8 MB
Last updated
over 6 years ago
docker pull opereto/agentvol