install
This operation downloads the official standalone_embed.sh script into a local install directory. Pass --start to launch the container immediately after download. Requires bash and a working Docker daemon if --start is used.
Synopsis
zilliz milvus standalone install
[--dir <path>]
[--script-url <url>]
[--dry-run]
[--start]
[--force]
Options
-
--dir (path) -
Indicates the install directory. Default:
./milvus-standalone. Created if missing. -
--script-url (url) -
Indicates an HTTPS URL to download
standalone_embed.shfrom. Default:https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh. Non-HTTPS URLs are rejected. -
--dry-run (boolean) -
Prints the download and start steps without touching the filesystem or Docker.
-
--start (boolean) -
After downloading, runs
bash standalone_embed.sh startto launch the Milvus container. -
--force (boolean) -
Overwrites an existing
standalone_embed.shin the install directory. Without--force, install fails if the script is already present.
Example
# Download into the default directory
zilliz milvus standalone install
# Download and start in one step
zilliz milvus standalone install --start
# Custom install directory and overwrite existing script
zilliz milvus standalone install --dir ~/milvus --force