09 Sep 2022 04:26 AM - last edited on 15 Sep 2022 05:45 AM by Ana_Kuzmenchuk
I have pull oneagent from docker hub with below command
docker pull dynatrace/oneagent:latest
then run it by using below command,
docker run -it -d IMAGE ID --restart=unless-stopped --privileged=true --pid=host --net=host --userns=host -e ONEAGENT_INSTALLER_SKIP_CERT_CHECK=true -v /:/mnt/root -e ONEAGENT_INSTALLER_SCRIPT_URL="xxxxxxxxxxxxxxxxxxxxxx" -e ONEAGENT_INSTALLER_DOWNLOAD_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxx" dynatrace/oneagent:latest
But after hitting this command not getting oneaget container in running state.
can you please guide us how to install oneagent in docker? or point me where were i am doing wrong steps.
You can find all instructions about setting up OneAgent as a Docker container in this documentation article:
Set up Dynatrace OneAgent as a Docker container