mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-22 21:50:47 -05:00
* fix(start): mount the podman machine's own socket on macOS
With podman machine on macOS, the socket the docker CLI reaches is a
forwarder on the Mac, and start bind-mounted that path into a container
that runs inside the VM. Depending on the podman version the start
failed ("operation not supported"), or it reported ready while the
emulator could not reach the daemon, so every Docker-backed service
failed later.
When the daemon is Podman, start now asks podman for the socket the
daemon listens on inside the VM (Host.RemoteSocket.Path) and mounts
that. DOCKER_SOCK still names the mounted socket and turns the lookup
off. When podman cannot answer, start warns and keeps the old mount.
Closes #78
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
* fix(start): mount DOCKER_SOCK on macOS even when DOCKER_HOST is set
start's warning tells the user to set DOCKER_SOCK when podman cannot
report its VM socket, but with DOCKER_HOST on the Mac forwarder the
mount still used the DOCKER_HOST path, so following the warning did not
help. On macOS DOCKER_SOCK is now the mount source whenever it is set.
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
---------
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
29 lines
891 B
JSON
29 lines
891 B
JSON
{
|
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
"name": "floci",
|
|
"version": "1.0.6",
|
|
"description": "Run, wire up and troubleshoot Floci, the free local emulators for AWS, GCP, Azure and OCI: floci-cli lifecycle, safe wiring of aws, gcloud, az, oci and the SDKs, docker run and Docker Compose files, several instances side by side, and lookups in the published docs.",
|
|
"author": {
|
|
"name": "Floci",
|
|
"url": "https://floci.io"
|
|
},
|
|
"homepage": "https://floci.io",
|
|
"repository": "https://github.com/floci-io/floci-cli",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"floci",
|
|
"local cloud emulator",
|
|
"aws emulator",
|
|
"gcp emulator",
|
|
"azure emulator",
|
|
"oci emulator",
|
|
"localstack alternative",
|
|
"azurite alternative",
|
|
"docker compose",
|
|
"local s3",
|
|
"local dynamodb",
|
|
"local pubsub",
|
|
"integration tests"
|
|
]
|
|
}
|