Dynatrace' documentation provides this procedure to run the dynatrace container on a host:
docker run -d --restart=unless-stopped --privileged=true --pid=host --net=host --ipc=host -v /:/mnt/root dynatrace/oneagent TENANT=REPLACE_WITH_YOUR_ENVIRONMENT_ID TENANT_TOKEN=REPLACE_WITH_YOUR_TOKEN SERVER=REPLACE_WITH_YOUR_CONNECTION_ENDPOINT
I run this as a test on my local mac, but the container fails to start due to what seems like a dynatrace package corruption issue (The container seems to be caught in a restart loop):
Traiano:dynatrace-oneagent traianowelcome$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES069fd6a6e67c dynatrace/oneagent "/tmp/entrypoint.s..." 4 minutes ago Restarting (7) 38 seconds ago competent_perlman
Checking the container logs seems to show a package corruption issue:
BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.Usage: base64 [-d] [FILE]Base64 encode or decode FILE to standard output -d Decode datatar: short read13:13:43 Started agent deployment as docker image, PID 14313.13:13:43 Container version: 220.127.116.1170707-06295113:13:43 Deploying to: /mnt/root13:13:43 Checking root privileges...13:13:43 OK13:13:46 Warning: Configuration params section of the installer package is missing. The installation will proceed but the agent will have to be configured manually.13:13:46 Installation started, version 18.104.22.168038, build date: 07.07.2017, PID 14313.13:13:46 Detected: Platform: LINUX Arch: X8613:13:46 Detected bitness: 6413:13:46 /opt is on /13:13:46 Extracting...13:13:48 Unpacking. This may take a few minutes13:13:48 Error: Archive is corrupted. Installation aborted.13:13:48 Error: Tar error message: /bin/base64: unrecognized option: i
Does this point to an issue with the Dynatrace container itself?
Solved! Go to Solution.