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.
 
 
 
 
 
 
飞雪无情 2a8e40f19f
add chroot zh_CN document (#10337)
4 years ago
..
README.md add chroot zh_CN document (#10337) 4 years ago

README.md

在Chrooted环境中运行MinIO Slack Docker Pulls

Chroot允许在标准的Linux上基于用户的namespace隔离。

1. 前置条件

  • 熟悉 chroot
  • 系统上已经安装Chroot

2. 在Chroot中安装MinIO

mkdir -p /mnt/export/${USER}/bin
wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio
chmod +x /mnt/export/${USER}/bin/minio

将你的proc挂载绑定到目标chroot目录

sudo mount --bind /proc /mnt/export/${USER}/proc

3.在Chroot中运行单节点MinIO

GNU/Linux

sudo chroot --userspec username:group /mnt/export/${USER} /bin/minio --config-dir=/.minio server /data

Endpoint:  http://192.168.1.92:9000  http://65.19.167.92:9000
AccessKey: MVPSPBW4NP2CMV1W3TXD
SecretKey: X3RKxEeFOI8InuNWoPsbG+XEVoaJVCqbvxe+PTOa
...
...

现在可以在主机的9000端口访问实例,在浏览器中输入http://127.0.0.1:9000/即可访问

进一步探索