Docker has a fixed amount of space for images and containers. It may help to clean up exited containers and dangling images with commands like the following:
docker rm $(docker ps -a -q -f "status=exited")
docker rmi $(docker images -q -f "dangling=true")
You should also try to remove images you are no longer using and to stop and remove running containers.