|
@@ -1,19 +1,10 @@
|
|
|
# MioIO Client (mc)
|
|
|
|
|
|
-mc is a command to control MinIO.
|
|
|
+mc is a command to control MinIO. To run mc it within docker:
|
|
|
+- Set your MinIO connection in [.env](.env.template): `cp .env.template .env && vi .env`
|
|
|
+- Run the container as one-shot: `docker-compose run minio-mc`
|
|
|
+- Background: This will set a your MinIO connection as per [`.env`](.env.template) and make it available under the name `myminio` for the MC CLI running in the [container](https://hub.docker.com/r/minio/mc).
|
|
|
|
|
|
-This convenient [`docker-compose.yml`](./docker-compose.yml) will set a your MinIO connection as per [`.env`](.env.template) and make it available under the name `myminio` for the MC CLI running in the [container](https://hub.docker.com/r/minio/mc).
|
|
|
-
|
|
|
-#### Setup your tenant / credentials
|
|
|
-```
|
|
|
-cp .env.template .env
|
|
|
-vi .env
|
|
|
-```
|
|
|
-
|
|
|
-#### Run the container as one-shot
|
|
|
-```
|
|
|
-docker-compose run minio-mc
|
|
|
-```
|
|
|
|
|
|
#### Typical commands
|
|
|
```
|