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

Mount the disk in a directory under Ubuntu 18.04

Introduction This article records how to mount a ...

XHTML Getting Started Tutorial: XHTML Web Page Image Application

<br />Adding pictures reasonably can make a ...

MySQL limit performance analysis and optimization

1. Conclusion Syntax: limit offset, rows Conclusi...

How to decrypt Linux version information

Displaying and interpreting information about you...

HTML table tag tutorial (3): width and height attributes WIDTH, HEIGHT

By default, the width and height of the table are...

How to create a child process in nodejs

Table of contents Introduction Child Process Crea...

A simple tutorial on how to use the mysql log system

Table of contents Preface 1. Error log 2. Binary ...

Stop using absolute equality operators everywhere in JS

Table of contents Overview 1. Test for null value...

Implementation of nginx worker process loop

After the worker process is started, it will firs...

js memory leak scenarios, how to monitor and analyze them in detail

Table of contents Preface What situations can cau...

jQuery treeview tree structure application

This article example shares the application code ...

Introduction to fourteen cases of SQL database

Data Sheet /* Navicat SQLite Data Transfer Source...