# Uninstalling Connectware (Docker)

Uninstalling Connectware removes Connectware from your system, including all containers, volumes, and service configurations.

{% hint style="warning" %}
Make sure to back up any important data before proceeding with the uninstallation, as this process will permanently remove all Connectware-related data from your system.
{% endhint %}

1. Switch to the root user and navigate to your installation directory:

{% code lineNumbers="true" %}

```yaml
sudo -i
cd <installation-directory>
```

{% endcode %}

2. Stop and remove all Docker containers, networks, and volumes associated with Connectware:

{% code lineNumbers="true" %}

```yaml
docker compose down -v
```

{% endcode %}

3. Navigate up one directory level and delete the installation directory:

{% code lineNumbers="true" %}

```yaml
cd ..
rm -R <installation-directory>
```

{% endcode %}

If you have installed Connectware via systemd, proceed with the next steps.

4. systemd installations only: Disable the Connectware service.

{% code lineNumbers="true" %}

```yaml
systemctl disable connectware
```

{% endcode %}

5. Remove the service file:

{% code lineNumbers="true" %}

```yaml
rm /etc/systemd/system/connectware.service
```

{% endcode %}
