HUB
Sign inSign up
meshctl logo

fleetmesh/meshctl

By fleetmesh

•Updated 2 days ago

Distroless multi-arch FleetMesh operator CLI (static Rust binary with cargo-auditable SBOM).

Image
Networking
Security
Developer tools
0

215

fleetmesh/meshctl repository overview

⁠FleetMesh meshctl

Official multi-arch (linux/amd64, linux/arm64) distroless container image for meshctl — the declarative fleet management and operator CLI for FleetMesh⁠.

⁠Supported Tags

TagsArchitecturesBase Image
0.5.0-alpha.1, 0.5.0a1, alpha, latestlinux/amd64, linux/arm64Chainguard Static (cgr.dev/chainguard/static)

⁠Quick Start

Verify the image without installing a Rust toolchain:

docker run --rm --read-only fleetmesh/meshctl:0.5.0-alpha.1 --version

Define a shell helper that mounts your current working directory at /work (for operator keys or YAML manifests):

meshctl() {
  docker run --rm --read-only \
    -v "$PWD:/work" \
    fleetmesh/meshctl:0.5.0-alpha.1 "$@"
}

# Mint an enrollment token and send a sealed control/1.0 command over a relay
meshctl fleet token <node-pubkey> --key-file operator.key
meshctl send <node-pubkey> health --key-file operator.key --relay wss://relay.fleetmesh.org

Inspect a local node's state directory (compatible with Podman and Docker):

docker run --rm --read-only \
  -v ~/.local/share/fleetmesh/node-1:/var/lib/meshnode:ro \
  fleetmesh/meshctl:0.5.0-alpha.1 status --dir /var/lib/meshnode

Note: Because the distroless image intentionally contains no shell or SSH client, remote SSH polling (meshctl watch user@host:/var/lib/meshnode) requires a native binary installed via Cargo (cargo install meshctl --version 0.5.0-alpha.1). All local and relay-backed commands work identically inside the container.

⁠Security & Hardening

  • Distroless static runtime (~10 MB uncompressed): Built on cgr.dev/chainguard/static with zero shell, zero libc, zero package manager, and bundled CA roots.
  • Statically linked Rust binary: Compiled from the locked crates.io release against musl (+crt-static) with rustls + webpki-roots (no OpenSSL or SQLite dependency).
  • Embedded SBOM (cargo-auditable): All compiled Rust crate dependencies are embedded in the binary for transparent scanning by Docker Scout, Trivy, and Grype.
  • Non-root & read-only by default: Runs as non-root UID 65532 (or any host --user <uid>:<gid>) and supports --read-only.

⁠Documentation & Source

Tag summary

Content type

Image

Digest

sha256:32181e04e…

Size

3.6 MB

Last updated

2 days ago

docker pull fleetmesh/meshctl