When you build Docker assets with CDK, they are still built locally and aren’t removed when the process is complete. You may eventually hit this error: #8 29.62 ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device. This is because the images and containers are sitting in the Docker disk image that is of a fixed size. To fix this, you can prune all stopped containers, images, and volumes with docker system prune --all, volumes only docker system prune --volumes. To prune all images: docker prune images -af
Addressing Docker No Space Left on Device Errors
Part of Software Engineering MOC