The fs command doesn't work any more, using server

Also there's no /export/data folder which stops minio starting so using /export instead.
master
Matthew Buckett 9 years ago committed by Harshavardhana
parent 37330bda98
commit bedd867c0b
  1. 4
      Docker.md

@ -3,11 +3,11 @@
Start docker, however data is not persistent. Start docker, however data is not persistent.
```bash ```bash
docker run -p 9000:9000 minio/minio fs /export/data docker run -p 9000:9000 minio/minio server /export
``` ```
Map export and configuration directories from host for persistence. Map export and configuration directories from host for persistence.
```bash ```bash
docker run -p 9000:9000 --name minio1 -v /mnt/export/minio1:/export -v /mnt/config/minio1:/root/.minio minio/minio fs /export/data docker run -p 9000:9000 --name minio1 -v /mnt/export/minio1:/export -v /mnt/config/minio1:/root/.minio minio/minio export /export
``` ```

Loading…
Cancel
Save