And still, when I re-install docker through the software center the Portainer has a record of the 5 containers that existed previously. I can’t get a fresh docker instance to work because the previous container configurations were no longer valid, so they were blocking docker from starting.
I tried this, but the docker command failed to do anything because the docker service was failing to start…
But it’s clear that some configuration is being kept somewhere, because my Portainer admin password has been unchanged through a couple uninstall and re-installs of docker, and through clearing out the whole /var/lib/docker folder
Looking under the /etc/e-smith/events/nethserver-docker-update/S95nethserver-docker-create-portainer file I can see there is storage here: /var/lib/nethserver/portainer.
This seemed to do it. So for me, the steps to remove and reset Docker (and Portainer) are as follows: