Update minio case

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/494/head
Kang Huaishuai 2021-07-15 13:29:08 +08:00
parent 533f30a939
commit 95aed0099e
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
2 changed files with 17 additions and 21 deletions

View File

@ -58,7 +58,7 @@ jobs:
"product.china-pub.com",\
"union-click.jd.com",\
"x.x.x.x/base",\
"x.x.x.x:9000/minio/",\
"x.x.x.x:9090",\
"yeasy.gitbooks.io",\
"download.fastgit.org",\
"www.aliyun.com" \

View File

@ -1,6 +1,6 @@
# minio
[TOC]
MinIO Apache License v2.0S3/kb5T
**MinIO** Apache License v2.0 S3 / kb 5T
MinIO , NodeJS, Redis MySQL
@ -11,12 +11,9 @@ MinIO是一个非常轻量的服务,可以很简单的和其他应用的结合
使
```bash
docker pull minio/minio
docker run -p 9000:9000 minio/minio server /data
$ docker run -d -p 9000:9000 -p 9090:9090 minio/minio server /data --console-address ':9090'
```
## 线
@ -26,37 +23,36 @@ docker run -p 9000:9000 minio/minio server /data
`minio/minio`
```bash
docker save -o minio.tar minio/minio:latest
$ docker save -o minio.tar minio/minio:latest
```
<!--使docker save 使image id 使+tag-->
> 使docker save 使image id 使+tag
###
使
```bash
docker load minio.tar
$ docker load minio.tar
```
### minio
- /mnt/data
- MINIO_ACCESS_KEY
- MINIO_SECRET_KEY
- `/mnt/data`
- `MINIO_ROOT_USER`
- `MINIO_ROOT_PASSWORD`
- name,minio1()
- 9000,:9009:9000
- 90009090 , `9009:9000`
```bash
sudo docker run -d -p 9000:9000 --name minio1 \
-e "MINIO_ACCESS_KEY=改成自己需要的" \
-e "MINIO_SECRET_KEY=改成自己需要的" \
$ sudo docker run -d -p 9000:9000 -p 9090:9090 --name minio1 \
-e "MINIO_ROOT_USER=改成自己需要的" \
-e "MINIO_ROOT_PASSWORD=改成自己需要的" \
-v /mnt/data:/data \
--restart=always \
minio/minio server /data
minio/minio server /data --console-address ':9090'
```
### 访 web
http://x.x.x.x:9000/minio/
http://x.x.x.x:9090