The discussion revolves around an issue where the ./launcher rebuild app command fails due to insufficient disk space, despite having 33GB available. donlucas encountered the error and sought help. Falco explained that the check is for space in Docker’s root directory, not the general disk, and provided the command docker info --format '{{.DockerRootDir}}' to identify the correct location. donlucas confirmed this resolved the issue. pfaffman suggested improving the error message to clarify the space check is for Docker’s directory, a point Falco acknowledged. codinghorror supported the idea, and mpalmer proposed an even better improvement: including the output of df -h /var/lib/docker in the error message for clarity.
Been trying to walk through the INSTALL-cloud.md documentation on an AWS ec2 instance. I’ve virtual linked /var/discourse to a drive with 33GB available but when I execute the ./launcher rebuild app command, I get the following error:
You have less than 5GB of free space on the disk. You will need more space to continue
Not sure how to proceed. ‘cleaning’ docker images (this is the only image on the host) does not resolve the issue and there are 33GB available on the disk.
We are testing for space on Docker folder (defaults to /var/docker/aufs/) which is where Docker images live and where having not enough space will fail a rebuild in the middle.
You can find the correct folder that need more space with:
Go one even betterer: put the output of df -h /var/lib/docker in there, so people can see the filesystem, mount point, and free space, all in one neat little package.