aspire icon indicating copy to clipboard operation
aspire copied to clipboard

WithBindMount: create source directory (podman)

Open tmds opened this issue 1 year ago • 2 comments

One distinction between podman and docker for bind mounts is that docker will create the specified path if it does not exist while podman will fail if it does not exist.

It would be nice if the Aspire orchestrator would create the directory when the orchestrator is podman so this difference doesn't bubble up and requires the user to handle it in the AppHost.

tmds avatar Apr 25 '24 11:04 tmds

@karolz-ms Where do you think this logic should go?

davidfowl avatar Apr 25 '24 15:04 davidfowl

I agree with @tmds, having this logic in the orchestrator makes sense

karolz-ms avatar Apr 25 '24 15:04 karolz-ms

This is fixed in the 0.4.0 version of DCP

dbreshears avatar May 20 '24 18:05 dbreshears