Starts a local OpenShift cluster.

Synopsis

Starts a local single-node OpenShift cluster.

All flags of this command can also be configured by setting corresponding environment variables or persistent configuration options. For the former prefix the flag with MINISHIFT_, uppercase characters and replace '-' with '_', for example MINISHIFT_VM_DRIVER. For the latter see 'minishift config -h'.

minishift start [flags]

Options

  -a, --addon-env stringSlice            Specify key-value pairs to be added to the add-on interpolation context.
      --cpus int                         Number of CPU cores to allocate to the Minishift VM. (default 2)
      --disk-size string                 Disk size to allocate to the Minishift VM. Use the format <size><unit>, where unit = MB or GB. (default "20GB")
      --docker-env stringSlice           Environment variables to pass to the Docker daemon. Use the format <key>=<value>.
      --docker-opt stringSlice           Specify arbitrary flags to pass to the Docker daemon in the form <flag>=<value>.
  -h, --help                             help for start
      --host-only-cidr string            The CIDR to be used for the minishift VM. (Only supported with VirtualBox driver.) (default "192.168.99.1/24")
      --http-proxy string                HTTP proxy in the format http://<username>:<password>@<proxy_host>:<proxy_port>. Overrides potential HTTP_PROXY setting in the environment.
      --https-proxy string               HTTPS proxy in the format https://<username>:<password>@<proxy_host>:<proxy_port>. Overrides potential HTTPS_PROXY setting in the environment.
      --insecure-registry stringSlice    Non-secure Docker registries to pass to the Docker daemon. (default )
      --iso-url string                   Location of the minishift ISO. Can be a URL, file URI or one of the following short names: [b2d centos]. (default "centos")
      --memory string                    Amount of RAM to allocate to the Minishift VM. Use the format <size><unit>, where unit = MB or GB. (default "2GB")
      --network-nameserver stringSlice   Specify nameserver to use for the instance.
      --no-proxy string                  List of hosts or subnets for which no proxy should be used.
      --openshift-version string         The OpenShift version to run, eg. v3.9.0 (default "v3.9.0")
      --password string                  Password for the virtual machine registration.
      --public-hostname string           Public hostname of the OpenShift cluster.
      --registry-mirror stringSlice      Registry mirrors to pass to the Docker daemon.
      --routing-suffix string            Default suffix for the server routes.
      --server-loglevel int              Log level for the OpenShift server.
      --skip-registration                Skip the virtual machine registration.
      --skip-registry-check              Skip the Docker daemon registry check.
      --skip-startup-checks              Skip the startup checks.
      --username string                  Username for the virtual machine registration.
      --vm-driver string                 The driver to use for the Minishift VM. Possible values: [virtualbox vmwarefusion kvm xhyve hyperv] (default "kvm")

Options inherited from parent commands

      --alsologtostderr                  log to standard error as well as files
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory (default "")
      --logtostderr                      log to standard error instead of files
      --profile string                   Profile name (default "minishift")
      --show-libmachine-logs             Show logs from libmachine.
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

SEE ALSO

  • minishift - Minishift is a tool for application development in local OpenShift clusters.