mirror of https://github.com/minio/minio.git
Update Docker.md
This commit is contained in:
parent
15b5f4d7a3
commit
2e3e164f16
|
@ -28,10 +28,10 @@ docker create -v /export --name minio-export minio/my-minio /bin/true
|
||||||
You can also map ``.minio`` directory containing authentication information.
|
You can also map ``.minio`` directory containing authentication information.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker create -v /export --name minio-export -v /.minio --name minio-config minio/my-minio /bin/true
|
docker create -v /export --name minio-export -v /root/.minio --name minio-config minio/my-minio /bin/true
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then use the `--volumes-from` flag to mount the `/export` and ``/.minio`` volume in another container.
|
You can then use the `--volumes-from` flag to mount the `/export` and ``/root/.minio`` volume in another container.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 9000 --volumes-from minio-export --volumes-from minio-config --name minio-server1 minio/my-minio
|
docker run -p 9000 --volumes-from minio-export --volumes-from minio-config --name minio-server1 minio/my-minio
|
||||||
|
|
Loading…
Reference in New Issue