»Tips and Troubleshooting

»Remove the Waypoint Server

The Waypoint Server creates several resources in Docker and Kubernetes that should be removed to either reinstall Waypoint or to completely remove it from a system.

»Waypoint Server in Docker

waypoint install for Docker creates a container and a volume. These resources should be removed when Waypoint Server is no longer needed. These are some example docker commands that should clean up after a Waypoint Server installation.

docker stop waypoint-server
docker rm waypoint-server
docker volume prune -f

»Waypoint Server in Kubernetes

waypoint install for Kubernetes creates a StatefulSet, Service and PersistentVolumeClaim. These resources should be removed when Waypoint Server is no longer needed. These are some example kubectl commands that should clean up after a Waypoint Server installation.

kubectl delete statefulset waypoint-server
kubectl get pvc #note that pv name is likely something like pvc-914da879-bb48-4785-a42e-8e525fcd70eb
kubectl delete pvc data-waypoint-server-0
kubectl get pv #the pv associated with pvc data-waypoint-server-0 should not longer be there
kubectl delete svc waypoint

»Pack Builder No Such Image

If the pack builder exits during build with an error similar to:

» Building...
Creating new buildpack-based image using builder: heroku/buildpacks:18
...
! failed to create 'detector' container: Error response from daemon: No such
  image: pack.local/builder/6c647962686577687270:latest

You may need to remove the Docker volumes that are responsible for storing cached images for pack.

$ docker volume list
...

Locate the volumes named starting with pack-cache- and remove them with docker volume rm.