How to delete persistence data from Portal containers and start with default/fresh configurations.
Release: 5.x
Component: APIPRD
Delete the Portal – removes all unused containers, images, and selected volumes
These commands are used when you want ot remove portal deployment (as root)
sudo -s OR use sudo before each command
docker stop $(docker ps -q)
docker rmi -f $(docker images -q)
docker volumes ls
docker volume rm $(docker volume ls -q)
docker system prune
systemctl restart docker
NOTE: if you type “docker images” and “docker volumes ls” there should be nothing listed
OR
Remove stack “Portal”
This is used when you want to reset the portal stack (portal services) and the volumes but keep images
docker stack rm portal
docker rm $(docker ps -qa)
docker volume rm $(docker volume ls -q)
NOTE: Removes the PortgreSQL database