withDockerSocket
Method
interface FlociAwsContainerResource { // ... omitted for brevity withDockerSocket(socketPath?: string): FlociAwsContainerResource;}Signature
method
withDockerSocket builderMounts the Docker socket into the Floci container so that Lambda and other container-backed AWS services can launch sibling containers. Also sets `FLOCI_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): FlociAwsContainerResourceParameters
socketPath stringoptional= /var/run/docker.sockOptional. Host path to the Docker socket (default: `/var/run/docker.sock`). Non-standard paths (e.g. Podman at `/run/user/1000/podman/podman.sock`) are bind-mounted to `/var/run/docker.sock` inside the container.Returns
FlociAwsContainerResource Applies to
This method applies to the following types: