Public | Automated Build

Last pushed: 7 months ago
Short Description
Run the New Relic server monitor daemon for docker and coreos server.
Full Description

uzyexe/newrelic

Run the New Relic server monitor daemon.

Dockerfile

Trusted Build

This Docker image is based on the official alpine:3.3 base image.

Using

Please note: Replaced by your newrelic license key is YOUR_NEW_RELIC_LICENSE_KEY

docker run

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

--

New Relic

Getting started

Release Notes

Authors

License

This project is licensed under the terms of the MIT license.

Docker Pull Command
Owner
uzyexe
Source Repository

Comments (2)
mcrowson
a year ago

It looks like the issue can be fixed by manually making the directory and mounting. This fixed it for me in Ubuntu.

sudo mkdir /dev/mqueue
sudo mount -t mqueue none /dev/mqueue

mcrowson
a year ago

I'm having trouble getting this to launch after updating ubuntu packages. Here is the error I'm getting, any ideas?

Error response from daemon: Cannot restart container newrelic: /dev/mqueue is not mounted, but must be for --ipc=host