MinIO

From Chorke Wiki
Revision as of 20:40, 31 July 2022 by Shahed (talk | contribs)
Jump to navigation Jump to search
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 \
--version
mkdir -p $MINIO_HOME/data
chown -R 200:200 $MINIO_HOME/data

Docker

docker run --detach \
--publish 9000:9000 \
--publish 9001:9001 \
--restart always \
--name minio \
--volume  $MINIO_HOME/data:/data \
quay.io/minio/minio server /data --console-address ":9001"

Knowledge

docker exec -it minio bash

References