mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-22 21:50:47 -05:00
* feat(start): add --security-opt so Floci can reach the socket on SELinux hosts With SELinux enforcing, as in the podman machine VM, the emulator cannot connect to the mounted Podman socket: the kernel denies connectto from container_t to the daemon's container_runtime_t, and the web console fails with java.net.BindException: Permission denied. Relabeling the mount with :z fixes access to the socket file but not that check. --security-opt label=disable gets past it, and start had no way to pass it. The option is repeatable and goes to docker run unchanged. A restart without --profile reads it back from the running container, like the port, image and services; with --profile the start is rebuilt from the profile, which has no key for it. docker inspect reports a seccomp profile file inline, which docker run rejects, so such a value fails start's validation, and with it the restart, before the stop removes the container. Signed-off-by: soreavis <263610811+soreavis@users.noreply.github.com> * fix(start): keep --security-opt in retry and recovery commands The failed-pull hint and the restart recovery command rebuild the start from its flags, so they dropped --security-opt and a retry lost label=disable. Carry it into both, shell-quoted. The README's profile workaround stopped the default instance: name the same profile and product on stop as on start. Signed-off-by: soreavis <263610811+soreavis@users.noreply.github.com> --------- Signed-off-by: soreavis <263610811+soreavis@users.noreply.github.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.5",
|
|
"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"
|
|
]
|
|
}
|