#Hi,

1 messages · Page 1 of 1 (latest)

slim parcel
#

Forgive me if this in the documentation somewhere, but I could not find it.

I am trying to mount a volume with functionality the same as -v in the docker cli. I want to mount the volume, but not actually have it persist after the run is complete. I also need to exclude a few subdirectories of the folder I am mounting. Just to give some color, I am trying to run packer build within the dagger run, so packer will take care of packaging its own container and the container to run packer is not really important.

#

Both .withMountedCache and .withDirectory didn't seem to fit what I was trying to do.

strong siren