Skip to content

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:

  1. Close out running Docker containers:

    sudo docker stack rm pcoipcm
    sudo docker swarm leave --force
    
  2. 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 }')
    
  3. Remove the setup files and repository information:

    sudo dnf remove pcoip-cmsg-setup
    sudo rm -f /etc/yum.repos.d/teradici-pcoip-cmsg.repo
    
  4. Clean up files and directories:

    sudo rm -rf /opt/teradici
    sudo rm -rf /var/log/Teradici
    
  5. 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
    
  6. Optionally remove the Docker repository:

    sudo rm -f /etc/yum.repos.d/docker-ce.repo