1. Check whether the docker environment is normal Use If you can find out that Docker is installed correctly, then proceed to the next step 2. Download the miniIO imagedocker pull minio/minio 3. Create a miniIO containerView All Mirrors docker images Create directories: one for storing configuration and one for storing uploaded files. mkdir -p /data/minio/config mkdir -p /data/minio/data Create and start the miniIO container: docker run -p 9000:9000 -p 9090:9090 \ --net=host \ --name minio \ -d --restart=always \ -e "MINIO_ACCESS_KEY=minioadmin" \ -e "MINIO_SECRET_KEY=minioadmin" \ -v /data/minio/data:/data \ -v /data/minio/config:/root/.minio \ minio/minio server \ /data --console-address ":9090" -address ":9000" MINIO_ACCESS_KEY :Account After execution, use docker ps to view the running container: 4. Access addresshttp://192.168.56.103:9090 If the access result is like this, it means success! 5. Installation problems If the client cannot be opened after running the container, you can view the logs through 1. Question 1At the beginning, I encountered a problem. It should be that there is a problem with the length of the account and password. A normal account should be no less than 3 characters, and the password should be no less than 8 characters, otherwise the container will fail to start. 2. Question 2If the client port is not set, the following warning will appear. 3. Question 3Everything is normal, and the client can be opened, but when connecting to minio through the program to upload, an error is reported, the error message is: Upload failedThe difference between the request time and the server's time is too The system time zone is inconsistent with the hardware time zone. timedatectl // View time zone configuration Install ntpdate tool yum -y install ntp ntpdate Set the system time to synchronize with the network time ntpdate cn.pool.ntp.org Write system time to hardware time hwclock --systohc This is the end of this article about the detailed steps of installing MinIO with Docker. For more information about installing MinIO with Docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Summary of the Differences between find() and filter() Methods in JavaScript
>>: A brief discussion on adaptive layout issues on mobile devices (responsive, rem/em, Js dynamics)
Preface Nginx 's built-in module supports lim...
After watching this, I guarantee that you have ha...
Table of contents 1. What is a JavaScript engine?...
Preface We often say that node is not a new progr...
SQL is the main trunk. Why do I understand it thi...
If there are any errors in this article or you ha...
I often need to change nginx configuration at wor...
Detailed explanation of the implementation method...
Let me briefly explain the functional scenario: T...
This article uses examples to explain the Nginx c...
There is a table in the project that needs to be ...
download MySQL official download, select Windows ...
The application scenario is: the iframe page has n...
When making a homepage such as a login page, you ...
Effect There are currently 2 projects (project1, ...