To check the error you just need to clean up some space on docker, you can use the following commands to solve the issue:
docker system prune
As you need to clean your system, firstly you need to remove containers and then the images. You can do this by specifying the #CONTAINER_ID and #IMAGE_ID you can remove selected containers and images that are no longer needed.
$ docker rm #CONTAINER_ID
$ docker rmi #IMAGE_ID