|
@@ -1,19 +1,19 @@
|
|
-# MioIO MC command line
|
|
|
|
|
|
+### MioIO MC command line
|
|
|
|
|
|
This convenient `docker-compose.yml` will set a your MinIO connection as per `.env` and make it available under the name `myminio` in the container.
|
|
This convenient `docker-compose.yml` will set a your MinIO connection as per `.env` and make it available under the name `myminio` in the container.
|
|
|
|
|
|
-1. Setup your tenant / credentials
|
|
|
|
|
|
+#### Setup your tenant / credentials
|
|
```
|
|
```
|
|
cp .env.template .env
|
|
cp .env.template .env
|
|
vi .env
|
|
vi .env
|
|
```
|
|
```
|
|
|
|
|
|
-2. Run the container as one-shot
|
|
|
|
|
|
+#### Run the container as one-shot
|
|
```
|
|
```
|
|
docker-compose run minio-mc
|
|
docker-compose run minio-mc
|
|
```
|
|
```
|
|
|
|
|
|
-3. Typical commands, for a full list see: https://docs.min.io/docs/minio-client-complete-guide.html
|
|
|
|
|
|
+#### Typical commands
|
|
```
|
|
```
|
|
# buckets
|
|
# buckets
|
|
mc mb myminio/documents # create
|
|
mc mb myminio/documents # create
|
|
@@ -32,3 +32,4 @@ mc admin policy info readonly
|
|
mc admin policy info writeonly
|
|
mc admin policy info writeonly
|
|
mc admin policy info readwrite
|
|
mc admin policy info readwrite
|
|
```
|
|
```
|
|
|
|
+For a full list see: https://docs.min.io/docs/minio-client-complete-guide.html
|