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

Graphic tutorial on installing CentOS7 on VMware 15.5

1. Create a new virtual machine in VMware 15.5 1....

MySQL cleverly uses sum, case and when to optimize statistical queries

I was recently working on a project at the compan...

mysql5.7 create user authorization delete user revoke authorization

1. Create a user: Order: CREATE USER 'usernam...

Installation method of MySQL 5.7.18 decompressed version under Win7x64

Related reading: Solve the problem that the servi...

Use semantic tags to write your HTML compatible with IE6,7,8

HTML5 adds more semantic tags, such as header, fo...

Linux kernel device driver memory management notes

/********************** * Linux memory management...

Execute initialization sql when docker mysql starts

1. Pull the Mysql image docker pull mysql:5.7 2. ...

Introduction to JavaScript Number and Math Objects

Table of contents 1. Number in JavaScript 2. Math...

How to use negative margin technology to achieve average layout in CSS

We usually use float layout to solve the compatib...

Ubuntu installs multiple versions of CUDA and switches at any time

I will not introduce what CUDA is, but will direc...

30 minutes to give you a comprehensive understanding of React Hooks

Table of contents Overview 1. useState 1.1 Three ...

JavaScript Canvas implements Tic-Tac-Toe game

This article shares the specific code of JavaScri...

Review of the best web design works in 2012 [Part 1]

At the beginning of the new year, I would like to...

How to use webSocket to update real-time weather in Vue

Table of contents Preface About webSocket operati...