Uninstalling PCoIP Connection Manager and PCoIP Security Gateway¶
If you want to remove the PCoIP Connection Manager and PCoIP Security Gateway completely from the production machine, open a console and run the following commands:
-
Close out running Docker containers:
sudo docker stack rm pcoipcm sudo docker swarm leave --force
-
Remove Docker images
sudo docker rmi -f $(sudo docker images --format "{{.ID}} {{.Repository}}" | grep -E */pcoip-cm | awk '{ print $1 }') sudo docker rmi -f $(sudo docker images --format "{{.ID}} {{.Repository}}" | grep -E */sg | awk '{ print $1 }')
-
Remove the setup files and repository information:
sudo dnf remove pcoip-cmsg-setup sudo rm -f /etc/yum.repos.d/teradici-pcoip-cmsg.repo
-
Clean up files and directories:
sudo rm -rf /opt/teradici sudo rm -rf /var/log/Teradici
-
Optionally remove Docker, if it will no longer be needed:
sudo docker system prune -f -a # remove all unused images sudo systemctl stop docker # stop Docker sudo systemctl disable docker # Prevent Docker from running on reboot sudo dnf remove docker-ce docker-ce-cli containerd.io # uninstall Docker Engine
-
Optionally remove the Docker repository:
sudo rm -f /etc/yum.repos.d/docker-ce.repo