This page has documentation on how to install portworx in different rancher versions.
Proceed to one of the below sections.
Portworx on Rancher 1.x
Instructions on installing Portworx using docker-compose and rancher-compose on Rancher 1.x by cattle scheduler
Portworx on Rancher 2.x
Instructions on installing Portworx using public catalog (Helm Chart) on Rancher 2.x