docker_practice/appendix/repo/minio.md

63 lines
1.8 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# minio
[TOC]
MinIO Apache License v2.0S3/kb5T
MinIO, NodeJS, Redis MySQL
[](https://docs.min.io/)
## 使
使
```bash
docker pull minio/minio
docker run -p 9000:9000 minio/minio server /data
```
## 线
###
`minio/minio`
```bash
docker save -o minio.tar minio/minio:latest
```
<!--使docker save 使image id 使+tag-->
###
使
```bash
docker load minio.tar
```
### minio
- /mnt/data
- MINIO_ACCESS_KEY
- MINIO_SECRET_KEY
- name,minio1()
- 9000,:9009:9000
```bash
sudo docker run -d -p 9000:9000 --name minio1 \
-e "MINIO_ACCESS_KEY=改成自己需要的" \
-e "MINIO_SECRET_KEY=改成自己需要的" \
-v /mnt/data:/data \
--restart=always \
minio/minio server /data
```
### 访 web
http://x.x.x.x:9000/minio/