docker version es milvus minio startup command details

  • 2021-09-16 08:34:36
  • OfStack

1. es startup command:

docker run -itd -e TAKE_FILE_OWNERSHIP=1111 -v /data/elasticsearch/data:/usr/share/elasticsearch/data -p 9200:9200 --name es elasticsearch:6.4.2

You need to add the environment variable TAKE_FILE_OWNERSHIP with any value.

For meaning, please refer to my other article://www.ofstack.com/article/200198. htm

The mount directory is used to store es data.

Specifies the mapping port.

The es image used is 6.4. 2

2. milvus startup command:

docker run -itd --name milvus -h milvus -p 19530:19530 -p 19121:19121 -p 9091:9091 -v /data/milvus/db:/var/lib/milvus/db -v /data/milvus/conf:/var/lib/milvus/conf -v /data/milvus/logs:/var/lib/milvus/logs -v /data/milvus/wal:/var/lib/milvus/wal milvus:cpu-0.8.0

Specify mapping port, there are rpc port, tcp port, officially provided for these three ports, all exposed.

To mount directories, you need to specify four directories, db stores data, conf stores configuration files, logs stores logs, and wal doesn't know.

The milvus image used is cpu-0. 8.

3. minio startup command:

docker run -itd -p 9000:9000 -v /data/minio:/data -e MINIO_ACCESS_KEY=123456 -e MINIO_SECRET_KEY=123456 --name minio -h minio minio:latest server /data

Specifies the mapping port.

The mount directory is used to store data.

Variable: MINIO_ACCESS_KEY is the user name at login.

Variable: MINIO_SECRET_KEY is the password at login.

The startup command is server/data.

Use the minio image for the latest tag.

Additional knowledge: docker Start elasticsearch Command

docker run -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -d -p 9200:9200 -p 9300:9300 --name es elasticsearch:6.7.1

If the development environment had better allocate memory to him, because the default startup memory of es is 2g, anyway, I am reluctant.


Related articles: