image.expand

These docs are for Singularity Version 2.5.1. For older versions, see our archive

While the squashfs filesystem means that you typically don’t need to worry about the size of your container being built, you might find that
if you are building an ext3 image (pre Singularity 2.4) you want to expand it.

Increasing the size of an existing image

You can increase the size of an image after it has been instantiated by using the image.expand Singularity sub-command. In the
example below, we: