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
./shutdown.sh
  • Tear down the application
./teardown.sh

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 containerd.io

Clean up docker related file and storage

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