New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Update MinIO Docker Quickstart Guide Documentation to Mention Minio Console #12660
Comments
Minio should think about adding a breaking change section in the change log. On every release an admin has to read every single line in the changelog very carefully to avoid an outage and even if it was done its freaking had to find out what all those changelog items really mean and how they interfere to running instances. |
@xoxys We will add the "Breaking Change:" section or at least things to look out for section. But NOTE: if you have a production setup you are always advised to test it locally in a separate instance. Willy nilly upgrading instances in production is naive way to do devops and administration. If you have questions about the release you can definitely ask at https://slack.min.io - if you want more SLA-based responses you are also advised to get a subscription with MinIO. |
@harshavardhana given we are moving towards podman, should we just remove this tutorial entirely? I'm planning on doing that for the nextgen docs as well and replacing them with the podman-focused guide. Alternatively I can just do the fix above as it's relatively minor, and then come back around for a more complete re-write. @wcedmisten if you hit the |
It does redirect, but then can't it connect to the redirected address |
OK, good to know - thanks for checking that. |
Hello, Excuse me, thanks for thread and information. I have this same issue but from a .yml file for deploy a compose or stack group of services. I haven't idea of how use this "--console-address :9001" flag in this scope. this is possible or exists any alternative? or i need to have deploy minio service how standalone service with a run command? Excuse me if this aren't place for this question, but is same issue and i also need help. Very thanks. Pd.: I also will grateful a documentation update with this news root environments vars and --console-address flag, for standalone container and compose (or stack) deploys as well. Thanks |
|
If I use the command Is there anyone who faced same problem? Moreover, what is the difference between --address and --console-address? |
Hei I have similar problem but with docker compose. The file is from official docs
Need help 🙏 |
I have no idea how you can get that error
and my version: '3'
services:
minio-demo:
image: minio/minio:latest
container_name: minio-demo
volumes:
- ./minio/data/:/data
- ./minio/conf/:/root/.minio
ports:
- 9000:9000
- 9001:9001
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server --console-address :9001 /data |
@ardinusawan what is the problem? - I don't see any problem bringing up MinIO |
Thank you for your comment. I solved the problem of I appreciated your help. |
For those who want the console on the same port, note that the June tag works: |
My problem is same like the author. |
Hello everyone, I found that actual image version use two flags for define ports that are listening, you can set this ports with --address ':[port]' and --console-address ':[console_port]' both flags need are defining for avoid warnings.
If you dont define this flag, web console will launch in a random port.
Can i suggest give a better name to version to identify differences?, maybe something more mnemonic?. For dev team.
docker run -p 9000:9000 -p 9001:9001 By default api service running in port 9000, but if you use other service, by example portainer, this service also use port 9000, you can define differents ports with this flags.
For compose.yml file, refer previous answers, we need modify command key in minio service definition, with any similar to: version: '3' this last command key define run command for container, here we can define flags mentioned.
For stack.yml file, you can use above example, but you maybe need define entrypoint and command key in file with any differences: [...] Note: last stack example are based in minio service integration with another service in docker stack orchestation. I hope that this information will be clear, excuse me if i not know how insert prettier code fragments. |
Because of a breaking change in MinIO it was not possible to run the api and console on the same port. See: minio/minio#12660 Fixes #19
Because of a breaking change in MinIO it was not possible to run the api and console on the same port. See: minio/minio#12660 Fixes #19
@harshavardhana is there a way with a nginx proxy path to have console and minio on the same domain? I have only one domain for minio! I also tried to set
|
Using image minio/minio (i.e. latest distro of minio) results in the following error: WARNING: Console endpoint is listening on a dynamic port (40277), please use --console-address ":PORT" to choose a static port. Apparently there has a been a "breaking change": minio/minio#12660 Have to provide a separate port for admin console
* add template * upgrade to latest minio distro Using image minio/minio (i.e. latest distro of minio) results in the following error: WARNING: Console endpoint is listening on a dynamic port (40277), please use --console-address ":PORT" to choose a static port. Apparently there has a been a "breaking change": minio/minio#12660 Have to provide a separate port for admin console Co-authored-by: Andrew Bolyachevets <Andriy.Bolyachevets@gov.bc.ca>
Is your feature request related to a problem? Please describe.
When following the MinIO Docker Quickstart Guide, no mention is made of the Minio Console which is included in the image. When following the first docker command in the guide:
The following output is shown:
Describe the solution you'd like
Modify the quickstart commands to specify a fixed port for the console to be hosted on, and expose the port in the docker command. E.g.:
This would allow the console to be visited from localhost:9001. Currently, the console can only be accessed from
http://<my IP>:40843
, but visitinghttp://127.0.0.1:40843
does not work, because the port is not exposed from the container.Describe alternatives you've considered
Additional context
Motivation for this change comes from this stackoverflow post which I believe points to a minor insufficiency with the quickstart docs: https://stackoverflow.com/questions/68317358/minio-local-dashboard-is-not-opening/68318238#68318238
The text was updated successfully, but these errors were encountered: