Skip to content
This repository was archived by the owner on Dec 13, 2021. It is now read-only.

timveil-overops/oo-docker-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OverOps Docker Image for Agent

Please note, this is not an official OverOps repository or Docker image

This image contains an OverOps Agent which talks to a Remote Collector. The Agent attaches to a single JVM running a sample application which generates errors. More info on this image can be found on DockerHub.

Although the image contains defaults for all build arguments (see docker build and --build-arg), to function properly, the image must be built with actual values from your environment or passed to the image using the appropriate run time environment variable (see docker run and -e). This image accepts the following parameters.

Build and Run Parameters

Currently build arguments passed to the Dockerfile are removed in favor of their environment variable equivalents which should be provided when executing docker run.

build-arg default value environment variable note
COLLECTOR_HOST collector TAKIPI_MASTER_HOST host name of the Remote Collector
COLLECTOR_PORT 6060 TAKIPI_MASTER_PORT port the Remote Collector is listening on
MACHINE_NAME agent-container TAKIPI_MACHINE_NAME human readable name of the container

Examples

Building the Image

docker build \
    --no-cache \
    -t timveil/oo-docker-agent:latest \
    --build-arg COLLECTOR_HOST=overops-collector.example.com \
    --build-arg COLLECTOR_PORT=6060 .

Publishing the Image

docker push timveil/oo-docker-agent:latest

Running the Image

docker run \
    -e TAKIPI_COLLECTOR_HOST=overops-collector.example.com \
    -e TAKIPI_COLLECTOR_PORT=6060 \
    timveil/oo-docker-agent:latest

Releases

No releases published

Packages

No packages published