Hi, where can I find all the locations where dagger stores data? I know it uses the docker daemon under the hood (/var/lib/docker/), but I guess that this is not the only location...
I am trying to run a pipeline on GH actions space after freeing some space with the maximize-build-space GH action. As a result, I get about 100GB on the /docker/ location which is created by the maximize-build-space action. After that I symlink docker files there, so that I can have more space and build the image with no problems:
sudo mv /var/lib/docker /docker/
sudo ln -s /docker/docker /var/lib/docker
sudo systemctl restart docker
After building the image, I convert it to Singularity using a function that does pretty much this:
my_container = dag.container().from_("busybox")
# Adapted from github.com/shykes/x/singularity
sif_file = (
dag.container()
.from_("quay.io/singularity/docker2singularity")
.with_file("img.tar", my_container.as_tarball())
.with_exec(["singularity", "build", "img.sif", "oci-archive://img.tar"]) # CRASHES HERE
.file("img.sif")
)
This crashes with the error:
INFO: Starting build...
INFO: Fetching OCI image...
INFO: Extracting OCI image...
FATAL: While performing build: packer failed to pack: while unpacking tmpfs: while unpacking layer sha256:8cd7a829f9590817f5a94f1e50408777dba173caa39f5471a1c4e2d8f5b01696: unpack entry: usr/local/lib/python3.10/dist-packages/libtransformer_engine.so: unpack to regular file: short write: write /tmp/build-temp-251354134/rootfs/usr/local/lib/python3.10/dist-packages/libtransformer_engine.so: no space left on device
which suggests that the /tmp location in the container using quay.io/singularity/docker2singularity image is mapped somewhere outside the /docker location I created for docker data.