Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Docker has a limit on maximum apt cache size on the host system. The issue can be fixed by running the following command.
docker image prune -f