Skip to content

How to test console server directly from ghcr.io

Cesar Celis Hernandez edited this page Apr 14, 2022 · 1 revision
  1. With docker put MinIO to run:
docker network create mynet123
docker run -v /data1 -v /data2 -v /data3 -v /data4 \
  --net=mynet123 -d --name minio --rm -p 9000:9000 -p 9001:9001 \
  "quay.io/minio/minio:latest" server /data{1...4} --console-address ':9001'

It will look like:

Screen Shot 2022-04-14 at 7 14 10 PM
  1. Then get the console PR and run it, using pr-1789 as an example:
docker pull ghcr.io/minio/console:pr-1789

docker run -e CONSOLE_MINIO_SERVER=http://minio:9000 \
-p 9090:9090 --network mynet123 ghcr.io/minio/console:pr-1789 server 

It will look like:

Screen Shot 2022-04-14 at 7 14 43 PM
  1. Test on port 5005 the React UI:
cd ~/console/portal-ui
yarn install
yarn build
yarn run start

It will look like:

Screen Shot 2022-04-14 at 7 15 02 PM