I had the same error ( [ERROR] InnoDB: Error number 28 means 'No space left on device' ) and solved it as follows:
1. Delete lost volumes in Docker, you can use the built-in toner command. The built-in command also deletes any directory in / var / lib / docker / volumes that is not a volume, so make sure you do not put anything there that you want to keep.
Warning be very careful with this if you have data that you want to keep
Cleaning:
$ docker volume rm $(docker volume ls -qf dangling=true)
Additional commands:
List of dangling volumes:
$ docker volume ls -qf dangling=true
List of all volumes:
$ docker volume ls
2. Also consider deleting all unused images.
First get rid of the <none> images (they are sometimes generated when creating the image, and if for some reason the image building was interrupted, they remain there).
here is a good script i use to remove them
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
Then, if you use Docker Compose to create images locally for each project. You will end up with a lot of images, which are usually called your folder (for example, if your project folder is named Hello, you will find the image name Hello_blablabla ). therefore also consider deleting all these images
you can edit the above script to delete them or delete them manually with
docker rmi {image-name}
Mahmoud Zalt May 19 '16 at 16:49 2016-05-19 16:49
source share