In my continuous delivery process I deploy every night a container with the last build of my application. But with each iteration the docker build cache is growing... Here are the commands applied every night :
docker rm $(docker stop $(docker ps -a -q --filter ancestor=myApplication --format="{{.ID}}"))
docker rmi $(docker images -f "dangling=true" -q)
docker build -t myApplication . --rm
docker run -d -p 9090:8080 -v C:\localFolder:/usr/local/mountedFolder myApplication
when I check with docker system df, I see that the build cache is growing with every build. Is there a way to make sure the unused cache is deleted ?