09 Sep 2022 12:26 PM - last edited on 15 Sep 2022 01:45 PM by Ana_Kuzmenchuk
Hi All,
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.
12 Dec 2022 09:31 AM
Hi @Sanket_Molavade,
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