'Unable to upload license: No space left on device' Error

Depending on what storage driver you are using, you may get an error similar to the following when trying to upload a license: Unable to upload license: load license: no space left on device

This is an error commonly seen by those running devicemapper on loopback mode.

From the Docker docs:

This configuration is only appropriate for testing. Loopback devices are slow and resource-intensive, and require you to create file on disk at specific sizes. They can also introduce race conditions. They are supposed for testing because the set-up is easier.

Thus, using devicemapper is discouraged for production and we recommend selecting another storage driver.

However, if you are not using devicemapper and are still experiencing this error, there are some known Docker workarounds.