docker: Fix docker build.

This commit is contained in:
Harshavardhana
2016-02-04 18:19:49 -08:00
parent 1c75d35c26
commit c9d2904e42
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ sudo apt-get install Docker.io
### Generating `minio configs` for the first time.
```bash
docker run -p 9000:9000 minio/minio:latest
docker run -p 9000:9001 minio/minio:latest
```
### Persist `minio configs`.
@@ -28,5 +28,5 @@ docker create -v /export --name minio-export minio/my-minio /bin/true
You can then use the `--volumes-from` flag to mount the `/export` volume in another container.
```bash
docker run -p 9000:9000 --volumes-from minio-export --name minio1 minio/my-minio
docker run -p 9000:9001 --volumes-from minio-export --name minio1 minio/my-minio
```