Skip to content
DocsTry Aspire
DocsTry

FlociGcpContainerResource.withDockerSocket

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.5.0
interface FlociGcpContainerResource {
// ... omitted for brevity
withDockerSocket(socketPath?: string): FlociGcpContainerResource;
}

Signature

methodwithDockerSocketbuilder
Mounts the Docker socket into the Floci GCP container so that Cloud Run, Cloud SQL, and other container-backed services can launch sibling containers. Also sets `FLOCI_GCP_DOCKER_DOCKER_HOST` to `unix:///var/run/docker.sock` (the container-side path where the socket is always mounted) so Floci can connect to it.
withDockerSocket(socketPath?: string): FlociGcpContainerResource
socketPathstringoptional= /var/run/docker.sock
FlociGcpContainerResource

Defined on

This method is defined on the following type: