Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.RustFs v13.6.1
func (RustFsResource) WithDataBindMount(source string) RustFsResource

Signature

methodWithDataBindMountbuilder
Adds a bind mount for the data folder to a RustFs container resource.
WithDataBindMount(source string) RustFsResource
sourcestringThe source directory on the host to mount into the container.
RustFsResource

The IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: