You are not logged in.
I'm trying to build an image, but during the process it will take at least 20GB space, and I don't have that much on my disk. The final image is not that large though, estimated size is 1~2G.
I have an external drive which has sufficient size for the build process, and I know I can set the docker root in docker config file.
But I wonder if there's a way to use external drive as temporary dir to store the large pile of stuff generated in the build process instead of moving the whole docker root?
Thanks!
Last edited by FishBoneEK (2025-06-06 06:43:18)
Offline
dockerd supports DOCKER_TMPDIR which may solve that issue.
see https://docs.docker.com/reference/cli/d … us-options
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
dockerd supports DOCKER_TMPDIR which may solve that issue.
see https://docs.docker.com/reference/cli/d … us-options
Thanks!
Offline