frostfs-s3-gw/docs/chroot
2020-07-03 15:03:06 +03:00
..
README.md Initial commit based on https://github.com/minio/minio/releases/tag/RELEASE.2020-07-02T00-15-09Z 2020-07-03 15:03:06 +03:00

Deploy MinIO on Chrooted Environment Slack Docker Pulls

Chroot allows user based namespace isolation on many standard Linux deployments.

1. Prerequisites

  • Familiarity with chroot
  • Chroot installed on your machine.

2. Install MinIO in Chroot

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

Bind your proc mount to the target chroot directory

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

3. Run Standalone MinIO in Chroot

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
...
...

Instance is now accessible on the host at port 9000, proceed to access the Web browser at http://127.0.0.1:9000/

Explore Further