MinIO: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
'''Linux:''' | '''Linux:''' | ||
export MINIO_HOME=/srv/minio | export MINIO_HOME=/srv/minio | ||
export MINIO_DATA=$MINIO_HOME/data | |||
| valign="top" | | | valign="top" | | ||
'''MacOS:''' | '''MacOS:''' | ||
export MINIO_HOME=$HOME/minio | export MINIO_HOME=$HOME/minio | ||
export MINIO_DATA=$MINIO_HOME/data | |||
| valign="top" | | | valign="top" | | ||
'''Chorke:''' | '''Chorke:''' | ||
export MINIO_HOME=$HOME/.chorke/academia/var/minio | export MINIO_HOME=$HOME/.chorke/academia/var/minio | ||
export MINIO_DATA=$MINIO_HOME/data | |||
|} | |} | ||
Line 28: | Line 31: | ||
</source> | </source> | ||
mkdir -p $HOME/.chorke/academia/var/minio/data | |||
mkdir -p $MINIO_HOME/data | mkdir -p $MINIO_HOME/data | ||
mkdir -p $ | mkdir -p $MINIO_DATA | ||
==Docker== | ==Docker== |
Revision as of 21:03, 31 July 2022
Linux: export MINIO_HOME=/srv/minio export MINIO_DATA=$MINIO_HOME/data |
MacOS: export MINIO_HOME=$HOME/minio export MINIO_DATA=$MINIO_HOME/data |
Chorke: export MINIO_HOME=$HOME/.chorke/academia/var/minio export MINIO_DATA=$MINIO_HOME/data |
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 $HOME/.chorke/academia/var/minio/data mkdir -p $MINIO_HOME/data mkdir -p $MINIO_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"
|
docker run --detach \
--publish 9000:9000 \
--publish 9001:9001 \
--restart always \
--name minio \
--volume $HOME/.chorke/academia/var/minio/data:/data \
quay.io/minio/minio server /data --console-address ":9001"
|
Knowledge
docker exec -it minio minio --version docker exec -it minio minio --help docker exec -it minio bash |
http://localhost:9001/login username: minioadmin password: minioadmin |
|
| ||
References
| ||