Skip to content

Uninstall

sudo ./install.sh uninstall                 # asks for confirmation
sudo ./install.sh uninstall --keep-data     # keep database, logs, configuration and update backups
sudo ./install.sh uninstall --purge-image   # also delete the Docker image
sudo ./install.sh uninstall --dry-run       # show what would be removed and restored

Uninstall:

  • stops and removes the containers, networks, systemd unit and login banner;
  • removes the firewall rules: decoy-interface policy, allow-lists, egress guard and the TTL rule; ARP settings are restored;
  • moves host SSH back to port 22 if ReD-Pot moved it, and lifts the SSH address pin;
  • re-enables the host services the installer stopped, including those stopped by add-decoy;
  • removes the update backups of that install unless --keep-data is given.

Docker itself stays installed. Uninstall also removes a half-finished sensor install (enrollment never completed).

After uninstalling a manager, its remote sensors can no longer report. Uninstall them on their own servers with the same command.