Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 2.63 KB

File metadata and controls

56 lines (46 loc) · 2.63 KB

microcks start – Start a Local Microcks Instance

Starts a Microcks instance using Docker or Podman and configures it as the current CLI context.

Usage

microcks start [flags]

Example

# Start a Microcks instance
microcks start

# Define your port (by default 8585)
microcks start --port [Port you want]

# Define your driver (by default docker)
microcks start --driver [docker-or-podman]

# Define name of your microcks container/instance
microcks start --name [name of you container/instance]

# Auto remove the container on exit
microcks start --rm

# Start and return the selected local context as JSON
microcks start --output json

In JSON mode, stdout contains only the structured start result. Image-pull and readiness progress is written to stderr.

Options

Flag Description
-h, --help help for start
--name Name for the Microcks instance (default: microcks)
--port Host port to expose Microcks (default: 8585)
--image Container image to use (default: quay.io/microcks/microcks-uber:latest-native)
--rm Auto-remove the container when it exits (like Docker --rm)
--driver Container driver to use (docker or podman, default: docker)
--ready-timeout How long to wait for Microcks to answer before failing (default: 1m)
--no-wait Return after the container starts without waiting for Microcks readiness
--output Output format: text or json

Options Inherited from Parent Commands

Flag Description
--config Path to Microcks config file
--microcks-context Name of the Microcks context to use
--verbose Produce dumps of HTTP exchanges
--insecure-tls Allow insecure HTTPS connections
--caCerts Comma-separated paths of CA cert files
--keycloakClientId Keycloak Realm Service Account ClientId
--keycloakClientSecret Keycloak Realm Service Account ClientSecret
--microcksURL Microcks API URL