Uninstall the Agent
This section describes uninstalling the Sysdig agent when it was installed as a service.
If the agent was installed as a container, remove it using standard container commands.
If the agent was installed by an orchestrator, such as Kubernetes, remove it by using the standard orchestrator commands.
Debian/Ubuntu Distributions
To uninstall the agent from Debian Linux distributions, including Ubuntu:
As the sudo
user, run the following command in a terminal on each host:
sudo apt-get remove draios-agent
Fedora/CentOS/RHEL/Amazon AMI/ Amazon Linux 2 Distributions
To uninstall the agent from Fedora Linux distributions, including CentOS, Red Hat Enterprise Linux, as well as Amazon AMI and Amazon Linux 2:
As the sudo
user, run the following command in a terminal on each host:
sudo yum erase draios-agent