Rancher: How to uninstall/stop service

Created on 12 Apr 2017  路  3Comments  路  Source: rancher/rancher

How can I uninstall or stop rancher and cattle on Linux in general?

Most helpful comment

for ID in $(docker ps |grep "rancher/" | awk '{print $1}');do docker container rm -f ${ID};done

All 3 comments

docker stop <id|name of container>
docker rm -fr <id|name of container>

for ID in $(docker ps |grep "rancher/" | awk '{print $1}');do docker container rm -f ${ID};done

for ID in $(docker ps |grep "rancher/" | awk '{print $1}');do docker rm -f ${ID};done

because:
docker: 'container' is not a docker command.
See 'docker --help'.

Was this page helpful?
0 / 5 - 0 ratings