How can I remove my cached docker layers?

Running docker images --no-trunc --format '{{.ID}}' | xargs docker rmi will delete all of the images and their layers from your build environment. This can be temporarily added as a run step to your config.yml to remove existing images and layers. After running this you can remove it from the config to build fresh images.

Was this article helpful?
0 out of 1 found this helpful



Please sign in to leave a comment.