mirror of
https://github.com/minio/minio.git
synced 2025-01-27 14:43:18 -05:00
Update Docker.md
This commit is contained in:
parent
f35128eec5
commit
10b6a6a74c
@ -6,9 +6,9 @@ To run docker image:
|
|||||||
This will start minio server in the docker container, the data however is not persistent.
|
This will start minio server in the docker container, the data however is not persistent.
|
||||||
If you need persistent storage you can use the command:
|
If you need persistent storage you can use the command:
|
||||||
|
|
||||||
```docker run -p 9000:9000 -v /home/krishna/.minio:/.minio -v /home/user/export:/export minio:latest```
|
```docker run -p 9000:9000 -v ${HOME}/.minio:/.minio -v ${HOME}/export:/export minio:latest```
|
||||||
|
|
||||||
Here the data uploaded to the minio server will be persisted to /home/user/export directory.
|
Here the data uploaded to the minio server will be persisted to ${HOME}/export directory.
|
||||||
|
|
||||||
# docker build
|
# docker build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user