HAProxy Enterprise Documentation 2.2r1
Docker
Uninstall and remove all HAProxy Enterprise Docker containers.
-
List all of your containers.
$ sudo docker ps -a --no-trunc
-
List all of your containers that match the string hapee.
$ sudo docker ps -a --no-trunc | grep hapee
-
Stop the HAProxy Enterprise containers that match the string hapee.
$ sudo docker ps -a --no-trunc | \ grep hapee | \ awk '{print $1}' | \ xargs -r --no-run-if-empty sudo docker stop
-
Remove the HAProxy Enterprise containers that match the string hapee.
$ sudo docker ps -a --no-trunc | \ grep hapee | \ awk '{print $1}' | \ xargs -r --no-run-if-empty sudo docker rm
-
Optionally remove the corresponding container images.
$ sudo docker images --no-trunc | \ grep hapee | \ awk '{print $3}' | \ xargs -r --no-run-if-empty sudo docker rmi
Next up
Configuration