New Relic Infrastructure - Need to use Docker API

docker run \
-d \
--name newrelic-infra \
--network=host \
--cap-add=SYS_PTRACE \
--privileged \
--pid=host \
-v "/:/host:ro" \
-v "/var/run/docker.sock:/var/run/docker.sock" \
-e NRIA_LICENSE_KEY=######## \
newrelic/infrastructure:latest

I need to monitor my docker container / host, but I´m not using docker socket, i´m currently using docker api, what I need to change to use API example 127.0.0.1:2375 ?

Hey @dev701,

Thanks for writing in. Once the New Relic Infrastructure agent is installed, it should start monitoring the docker containers. The nri-docker integration is bundled with the Infrastructure agent, see docs for more details:

@emurphy isn´t available the docker container logs inside NR, only at local machine. I have installed NR agent at host. How to show in NR ?

Hello @dev701, I hope you are well.

I think this documentation may be helpful to you, as you will possibly want to setup log forwarding: https://docs.newrelic.com/docs/logs/forward-logs/enable-log-management-new-relic/.

Please reach out if you have further questions.