Update OneAgent on Docker containers

To update OneAgent on Docker containers

Follow the instructions that correspond to how you've installed OneAgent

  • If you've installed on Linux, follow the instructions for updating OneAgent on Linux.

  • If you've installed on Windows, follow the instructions for updating OneAgent on Windows.

  • If you've deployed OneAgent as a Docker container, restart the container using the following command

    $ docker restart oneagent

    provided that you've added the parameter --name=oneagent in the appropriate Docker run command. The OneAgent Docker image will automatically fetch the latest version of OneAgent.

    If you've specified a default OneAgent install version for new hosts and applications in your OneAgent updates settings, the OneAgent Docker image will automatically fetch the defined default version of OneAgent.

    Note: OneAgent auto-update isn't supported when OneAgent has been deployed as a Docker image.