How to: Uninstall Docker on Raspberry Pi

Remove docker using the package manager:

sudo apt-get purge docker-ce

Delete leftover images, containers, volumes etc.:

sudo rm -rf /var/lib/docker

Manually changed configuration files must be deleted manually using e.g. rm function.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top