You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
minio/Docker.md

17 lines
497 B

# docker run
To run docker image:
```docker run -p 9000:9000 minio/minio:latest```
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:
9 years ago
```docker run -p 9000:9000 -v ${HOME}/.minio:/.minio -v ${HOME}/export:/export minio:latest```
9 years ago
Here the data uploaded to the minio server will be persisted to ${HOME}/export directory.
# docker build
To build the docker image:
```make dockerimage TAG="<tag>"```