Is there any way to have Rancher delete a container off of the host after the container is stopped? After a few hours of playing around scaling things up and down, my host is totally polluted with old containers.
On our system at least (0.43.1), the deleted containers seem to automatically purge themselves after a little time. Not sure how much time it takes, but I deleted a couple an hour or so ago which went into deleted state, and they’re not there now.
A stopped container won’t get removed from the host. You need to remove them from Rancher server to have them purged from the host.
I guess it would be nice to have a button on the Host panel that did something like
docker rm $(docker ps -a -q)
I created this issue as an enhancement request.