Error in Deploying project in production

Getting this kind of error while deploying my project to production.

You need to clear some space. Use the image button which clears some of the previous images

Or to fully clear space, change the Terminal to Host Server SSH and run the command:

sudo docker system prune

This will clear previous versions but leave the current one in place

I tend to do this every 5-10 deployments just to keep thing clean and make sure resource are as free as they should be