Giter Club home page Giter Club logo

newrelic-c-daemon-docker's Introduction

Daemon Docker Image

Build Status

This is a repository of base images for the New Relic Daemon. The New Relic Daemon is part of the New Relic C-SDK. The Dockerfile in this repo is meant to make it easy to run the daemon in a separate container from the SDK.

Running the Image

To run this image, use the commands docker build and docker run:

docker build -t newrelic-daemon .
docker run --name some-daemon newrelic-daemon

The daemon will listen on port 31339.

Accessing logs

The daemon logs are available by accessing the docker logs:

docker logs some-daemon

Using a custom config file

You may want to run the daemon using a custom config. The -c daemon flag must be set to the location of the config file. The -v flag will copy a local config file into the container. An absolute path is required when using the -v flag.

docker run --name some-daemon -v $PWD/newrelic.cfg:/etc/newrelic/newrelic.cfg newrelic-daemon -c /etc/newrelic/newrelic.cfg

Passing in flags

Additional configuration can be passed in as flags. If you' like to change the log level, use the following command:

docker run newrelic-daemon --loglevel debug

To find out more about what flags are possible, execute the following command:

docker run newrelic-daemon --help

More information about how to setup an agent container can be found on the docs site.

newrelic-c-daemon-docker's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.