Purge Docker & Components

It might be helpful to purge Docker and all its components before performing a fresh installation of Helmut4 using its install script. This is particularly important if Docker and Portainer were previously installed, as this can lead to execution errors with the default install script.

Delete Stacks

sudo docker stack ls
sudo docker stack rm helmut

Stop & Delete Container

sudo docker ps
sudo docker stop <containerID>
sudo docker rm <containerID>


docker rmi -f $(docker images -aq) 

Delete Container Volumes

sudo docker volume ls
sudo docker volume rm portainer_data
sudo docker volume rm helmut4_mcc_mongodb

Uninstall Docker Engine

Note: not all folders might be available, if so ignore the error message

Check for missing Docker components

Delete misc Docker source lists