Run the New Relic server monitor daemon.
This Docker image is based on the official alpine:3.3 base image.
Please note: Replaced by your newrelic license key is YOUR_NEW_RELIC_LICENSE_KEY
docker-compose up
In order to give newrelic full access for monitoring there are a few unusual flags you'll need.
docker run -d \
--name="newrelic" \
--net="host" \
--pid="host" \
--env="NEW_RELIC_LICENSE_KEY=YOUR_NEW_RELIC_LICENSE_KEY" \
--volume="/var/run/docker.sock:/var/run/docker.sock:ro" \
--volume="/sys/fs/cgroup/:/sys/fs/cgroup:ro" \
--volume="/dev:/dev" \
--restart=always \
uzyexe/newrelic
- Shuji Yamada ([email protected])
This project is licensed under the terms of the MIT license.