Remove an OpenIAM Docker Install

There might be case where you want to uninstall your OpenIAM Docker install. In these cases, follow the steps below

  • Stop your application
cd /usr/local/openiam/openiam-docker-compose
sudo ./
  • Tear down the application
sudo ./

if for you see that a volume is still being used, then run the following command:

docker system prune -a

The prune operation will remove all

  • All stopped containers
  • All networks not used by at least one container
  • All images without at least one container associated to them
  • All build cache

Remove docker

sudo apt-get purge docker-ce docker-ce-cli

Clean up docker related file and storage

cd /var/lib
sudo rm -rf docker/
  • Remove your docker compose directory
cd /usr/local/openiam
rm -rf openiam-docker-compose/