console icon indicating copy to clipboard operation
console copied to clipboard

Accessing Console on Minio Docker image

Open dan-willett opened this issue 3 years ago • 2 comments

I recently upgraded to the latest Minio docker image, and I am having some trouble getting to the console.

I am able to download the console to my local windows machine and access the server that way, but I need to be able to access the console from the docker container so I can expose it to my admin url.

My understanding that the Minio docker container exposes the console on port 9001, however, when I access port 9001 I get connection refused.

I also tried to use the separate minio/console docker container, but the instructions for that are severely lacking for running the container, and I have been unable to get the minio/console docker to serve the console website.

dan-willett avatar May 26 '22 17:05 dan-willett

Update: I was able to get the console to run using the minio/console docker after realizing that it is exposed on port 9090 not 9000. Someone should really change the references to :9000 to :9090 in the readme. And provide an example of running it like this:

docker run -d -p 9090:9090 --name minioadmin.docker --hostname minioadmin.docker -e VIRTUAL_HOST=yourhost.domain.tld -e CONSOLE_MINIO_SERVER=https://yourminio.domain.tld --network yourdockerproxynet --ip 172.20.0.14 --restart=unless-stopped minio/console server

Still haven't been able to get to the console on the minio/minio docker image

dan-willett avatar May 26 '22 17:05 dan-willett

minio api is on 9000 and console is on 9001, you can run like below

docker run -d -p 9000:9000 -p 9001:9001 --name minioadmin.docker --hostname minioadmin.docker -e VIRTUAL_HOST=yourhost.domain.tld -e CONSOLE_MINIO_SERVER=https://yourminio.domain.tld --network yourdockerproxynet --ip 172.20.0.14 --restart=unless-stopped minio/minio server <storage_path> --console-address 9001

Sam-Sundar avatar May 27 '22 07:05 Sam-Sundar

@Sam-Sundar-Apty This is the right solution for this. Will close this issue

bexsoft avatar Dec 12 '22 18:12 bexsoft