09 Sep 2022
- last edited on
15 Sep 2022
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.