Uninstalling the Instana agent on Docker

To uninstall the Instana agent from Docker deployments, complete the following steps:

  1. Remove the Instana agent container by running the following command:

sudo docker rm -f instana-agent

2. If required, remove the Docker image by running the following command:

  ```bash {: codeblock}
sudo docker image rm icr.io/instana/agent

The Instana agent container and Docker images are removed.