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-composesudo ./shutdown.sh
- Tear down the application
sudo ./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/libsudo rm -rf docker/
- Remove your docker compose directory
cd /usr/local/openiamrm -rf openiam-docker-compose/