github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/docs/chroot/README.md (about) 1 # Deploy MinIO on Chrooted Environment [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) [![Docker Pulls](https://img.shields.io/docker/pulls/minio/minio.svg?maxAge=604800)](https://hub.docker.com/r/minio/minio/) 2 3 Chroot allows user based namespace isolation on many standard Linux deployments. 4 5 ## 1. Prerequisites 6 7 - Familiarity with [chroot](http://man7.org/linux/man-pages/man2/chroot.2.html) 8 - Chroot installed on your machine. 9 10 ## 2. Install MinIO in Chroot 11 12 ```sh 13 mkdir -p /mnt/export/${USER}/bin 14 wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio 15 chmod +x /mnt/export/${USER}/bin/minio 16 ``` 17 18 Bind your `proc` mount to the target chroot directory 19 20 ``` 21 sudo mount --bind /proc /mnt/export/${USER}/proc 22 ``` 23 24 ## 3. Run Standalone MinIO in Chroot 25 26 ### GNU/Linux 27 28 ```sh 29 sudo chroot --userspec username:group /mnt/export/${USER} /bin/minio --config-dir=/.minio server /data 30 31 Endpoint: http://192.168.1.92:9000 http://65.19.167.92:9000 32 AccessKey: MVPSPBW4NP2CMV1W3TXD 33 SecretKey: X3RKxEeFOI8InuNWoPsbG+XEVoaJVCqbvxe+PTOa 34 ... 35 ... 36 ``` 37 38 Instance is now accessible on the host at port 9000, proceed to access the Web browser at <http://127.0.0.1:9000/> 39 40 ## Explore Further 41 42 - [MinIO Erasure Code Overview](https://min.io/docs/minio/linux/operations/concepts/erasure-coding.html) 43 - [Use `mc` with MinIO Server](https://min.io/docs/minio/linux/reference/minio-mc.html) 44 - [Use `aws-cli` with MinIO Server](https://min.io/docs/minio/linux/integrations/aws-cli-with-minio.html) 45 - [Use `minio-go` SDK with MinIO Server](https://min.io/docs/minio/linux/developers/go/minio-go.html) 46 - [The MinIO documentation website](https://min.io/docs/minio/linux/index.html)