MinIO: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{| | |||
| valign="top" | | |||
'''Linux:''' | |||
export MINIO_HOME=/srv/minio | |||
| valign="top" | | |||
'''MacOS:''' | |||
export MINIO_HOME=$HOME/minio | |||
|} | |||
{| class="wikitable sortable" | |||
|- | |||
! Local location !! Container location !! Usage | |||
|- | |||
| <code>$MINIO_HOME/data</code> || <code>/data</code> || MinIO data | |||
|} | |||
<source lang="bash"> | |||
docker run -it --rm \ | |||
--publish 9000:9000 \ | |||
--publish 9001:9001 \ | |||
quay.io/minio/minio \ | |||
server /data --console-address ":9001" | |||
</source> | |||
mkdir -p $MINIO_HOME/data | |||
chown -R 200:200 $MINIO_HOME/data | |||
==References== | ==References== | ||
{| | {| |
Revision as of 20:19, 31 July 2022
Linux: export MINIO_HOME=/srv/minio |
MacOS: export MINIO_HOME=$HOME/minio |
Local location | Container location | Usage |
---|---|---|
$MINIO_HOME/data |
/data |
MinIO data |
docker run -it --rm \
--publish 9000:9000 \
--publish 9001:9001 \
quay.io/minio/minio \
server /data --console-address ":9001"
mkdir -p $MINIO_HOME/data chown -R 200:200 $MINIO_HOME/data
References
| ||