<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Docker for Mac: OneAgent fails with &amp;quot;Archive is corrupted&amp;quot; in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30662#M962</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to start the dynatrace/oneagent as a Docker container with this command:&lt;/P&gt;&lt;PRE&gt;docker run --privileged=true --pid=host --net=host --ipc=host -v /:/mnt/root dynatrace/oneagent TENANT=hzj58979 TENANT_TOKEN=... SERVER=https://hzj58979.live.dynatrace.com&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;But I get the same error again and again:&lt;/P&gt;&lt;PRE&gt;19:04:33 Started agent deployment as docker image, PID 19094.&lt;BR /&gt;19:04:33 Container version: 1.119.211.20170707-062951&lt;BR /&gt;19:04:33 Deploying to: /mnt/root&lt;BR /&gt;19:04:33 Checking root privileges...&lt;BR /&gt;19:04:33 OK&lt;BR /&gt;19:04:36 Warning: Configuration params section of the installer package is missing. The installation will proceed but the agent will have to be configured manually.&lt;BR /&gt;19:04:36 Installation started, version 1.119.211.66038, build date: 07.07.2017, PID 19094.&lt;BR /&gt;19:04:36 Detected: Platform: LINUX Arch: X86&lt;BR /&gt;19:04:36 Detected bitness: 64&lt;BR /&gt;19:04:36 /opt is on /&lt;BR /&gt;19:04:36 Extracting...&lt;BR /&gt;19:04:39 Unpacking. This may take a few minutes&lt;BR /&gt;19:04:39 Error: Archive is corrupted. Installation aborted.&lt;BR /&gt;19:04:39 Error: Tar error message: /bin/base64: unrecognized option: i&lt;BR /&gt;BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.&lt;BR /&gt;&lt;BR /&gt;Usage: base64 [-d] [FILE]&lt;BR /&gt;&lt;BR /&gt;Base64 encode or decode FILE to standard output&lt;BR /&gt;        -d      Decode data&lt;BR /&gt;tar: short read&lt;/PRE&gt;&lt;P&gt;Is there anything I'm doing wrong?&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2017 19:13:56 GMT</pubDate>
    <dc:creator>rene_panzar</dc:creator>
    <dc:date>2017-07-18T19:13:56Z</dc:date>
    <item>
      <title>Docker for Mac: OneAgent fails with "Archive is corrupted"</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30662#M962</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to start the dynatrace/oneagent as a Docker container with this command:&lt;/P&gt;&lt;PRE&gt;docker run --privileged=true --pid=host --net=host --ipc=host -v /:/mnt/root dynatrace/oneagent TENANT=hzj58979 TENANT_TOKEN=... SERVER=https://hzj58979.live.dynatrace.com&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;But I get the same error again and again:&lt;/P&gt;&lt;PRE&gt;19:04:33 Started agent deployment as docker image, PID 19094.&lt;BR /&gt;19:04:33 Container version: 1.119.211.20170707-062951&lt;BR /&gt;19:04:33 Deploying to: /mnt/root&lt;BR /&gt;19:04:33 Checking root privileges...&lt;BR /&gt;19:04:33 OK&lt;BR /&gt;19:04:36 Warning: Configuration params section of the installer package is missing. The installation will proceed but the agent will have to be configured manually.&lt;BR /&gt;19:04:36 Installation started, version 1.119.211.66038, build date: 07.07.2017, PID 19094.&lt;BR /&gt;19:04:36 Detected: Platform: LINUX Arch: X86&lt;BR /&gt;19:04:36 Detected bitness: 64&lt;BR /&gt;19:04:36 /opt is on /&lt;BR /&gt;19:04:36 Extracting...&lt;BR /&gt;19:04:39 Unpacking. This may take a few minutes&lt;BR /&gt;19:04:39 Error: Archive is corrupted. Installation aborted.&lt;BR /&gt;19:04:39 Error: Tar error message: /bin/base64: unrecognized option: i&lt;BR /&gt;BusyBox v1.25.1 (2016-10-26 16:15:20 GMT) multi-call binary.&lt;BR /&gt;&lt;BR /&gt;Usage: base64 [-d] [FILE]&lt;BR /&gt;&lt;BR /&gt;Base64 encode or decode FILE to standard output&lt;BR /&gt;        -d      Decode data&lt;BR /&gt;tar: short read&lt;/PRE&gt;&lt;P&gt;Is there anything I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2017 19:13:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30662#M962</guid>
      <dc:creator>rene_panzar</dc:creator>
      <dc:date>2017-07-18T19:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Docker for Mac: OneAgent fails with "Archive is corrupted"</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30663#M963</link>
      <description>&lt;P&gt;When you look at the entrypoint.sh script in the docker image, you can see how the installation is perfomed:&lt;/P&gt;&lt;PRE&gt;deployAgentToHost() {&lt;BR /&gt;        toConsoleInfo "Deploying to: ${DOCKER_HOST_ROOT_PREFIX}"&lt;BR /&gt;        copyInstallerFileToHost&lt;BR /&gt;        toLogInfo "Creating ${DOCKER_HOST_ROOT_PREFIX}/${DOCKER_DEPLOYMENT_CONF_FILE}"&lt;BR /&gt;        createDirIfNotExistAndSetRights "${DOCKER_HOST_ROOT_PREFIX}/${AGENTCONF_PATH}" 755&lt;BR /&gt;        echo "DeployedInsideDockerContainer=true" &amp;gt;"${DOCKER_HOST_ROOT_PREFIX}/${DOCKER_DEPLOYMENT_CONF_FILE}"&lt;BR /&gt;        toLogInfo "Executing: exec chroot ${DOCKER_HOST_ROOT_PREFIX} ${INSTALLER_PATH_ON_HOST} $* DOCKER_ENABLED=1 PROCESSHOOKING=0"&lt;BR /&gt;        exec chroot "${DOCKER_HOST_ROOT_PREFIX}" "${INSTALLER_PATH_ON_HOST}" "$@" DOCKER_ENABLED=1 PROCESSHOOKING=0&lt;BR /&gt;        toConsoleError "Cannot execute: exec chroot ${DOCKER_HOST_ROOT_PREFIX} ${INSTALLER_PATH_ON_HOST} $* DOCKER_DEPLOY_TO_HOST=1. Setup won't continue."&lt;BR /&gt;        finishWithExitCode "${EXIT_CODE_ERROR}"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;Actually the docker entrypoint script copies the oneagent installer file to the docker host itself and then executes the installation using chroot in the host operating system. &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I don't have any Mac running Docker for Mac nearby, but I think the Linux virtual machine in Docker for Mac is based on alpine linux or other Linux distribution just using busybox (you can see that in your error log). Dynatrace oneagent installation expects GNU coreuitils and not a busybox system.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 07:12:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30663#M963</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2017-07-19T07:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Docker for Mac: OneAgent fails with "Archive is corrupted"</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30664#M964</link>
      <description>&lt;P&gt;Hi Rene, &lt;BR /&gt;&lt;BR /&gt;what Julius said is right, OneAgent docker image deploys the agent directly on the host, which in case of Docker for Mac would be the linux virtual machine running docker daemon.&lt;BR /&gt;This setup is currently not supported, you can find the list of supported platforms here: &lt;A href="https://help.dynatrace.com/get-started/reference/which-environments-and-versions-does-dynatrace-support/"&gt;https://help.dynatrace.com/get-started/reference/...&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tomek&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 10:27:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30664#M964</guid>
      <dc:creator>Tomasz_Gajger</dc:creator>
      <dc:date>2017-07-19T10:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Docker for Mac: OneAgent fails with "Archive is corrupted"</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30665#M965</link>
      <description>&lt;P&gt;Thanks for the clarification, &lt;A rel="user" href="https://answers.dynatrace.com/users/16467/view.html" nodeid="16467"&gt;@Julius L.&lt;/A&gt;!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 18:28:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Docker-for-Mac-OneAgent-fails-with-quot-Archive-is-corrupted/m-p/30665#M965</guid>
      <dc:creator>rene_panzar</dc:creator>
      <dc:date>2017-07-26T18:28:51Z</dc:date>
    </item>
  </channel>
</rss>

