Detailed explanation of docker version es, milvus, minio startup commands

Detailed explanation of docker version es, milvus, minio startup commands

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, the value is optional.

For the meaning, please refer to my other article: //www.jb51.net/article/200198.htm

The mount directory is used to store es data.

Specify the mapped 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 the mapping port, there are rpc port, tcp port, the official provides these three ports, all exposed together.

Mount directory. You need to specify four directories: db for data storage, conf for configuration files, logs for logs, and wal.

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

Specify the mapped port.

The mount directory is used to store data.

Variable: MINIO_ACCESS_KEY is the username when logging in.

Variable: MINIO_SECRET_KEY is the password for logging in.

The startup command is server /data.

Use the minio image with the latest tag.

Additional knowledge: Docker starts elasticsearch command

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

If it is a development environment, it is best to allocate memory to it, because the default memory occupied by es at startup is 2g, anyway, I can't bear to do that.

The above detailed explanation of the docker version of es, milvus, and minio startup commands is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

You may also be interested in:
  • Detailed explanation of the process of using docker to build minio and java sdk
  • Detailed steps for installing MinIO on Docker

<<:  Mysql 5.6 "implicit conversion" causes index failure and inaccurate data

>>:  XHTML Basic 1.1, a mobile web markup language recommended by W3C

Recommend

MySQL 5.7.30 Installation and Upgrade Issues Detailed Tutorial

wedge Because the MySQL version installed on the ...

react+antd.3x implements ip input box

This article shares the specific code of react+an...

Detailed tutorial on how to install MySQL 5.7.18 in Linux (CentOS 7) using YUM

The project needs to use MySQL. Since I had alway...

Two types of tab applications in web design

Nowadays, tabs are widely used in web design, but...

JavaScript to achieve calendar effect

This article shares the specific code for JavaScr...

Detailed explanation of monitoring NVIDIA GPU usage under Linux

When using TensorFlow for deep learning, insuffic...

A brief discussion on VUE uni-app's commonly used APIs

Table of contents 1. Routing and page jump 2. Int...

How to install Postgres 12 + pgadmin in local Docker (support Apple M1)

Table of contents introduce Support Intel CPU Sup...

Solution to the problem that mysql local login cannot use port number to log in

Recently, when I was using Linux to log in locall...

Steps to enable TLS in Docker for secure configuration

Preface I had previously enabled Docker's 237...

Why is the scroll bar on the web page set on the right?

Why are the scroll bars of the browsers and word ...