Docker

Container Deployment #

INFINI Console supports container deployment.

Downloading an Image #

The images of INFINI Console are published at the official repository of Docker. The URL is as follows:

https://hub.docker.com/r/infinilabs/console

Use the following command to obtain the latest container image:

docker pull infinilabs/console:1.26.1-1604

Verifying the Image #

After downloading the image locally, you will notice that the container image of INFINI Console is very small, with a size less than 30 MB. So, the downloading is very fast.

✗ docker images |grep "console" |grep "1.26.1-1604"
REPOSITORY                                      TAG       IMAGE ID       CREATED          SIZE
infinilabs/console                            1.26.1-1604    8c27cd334e4c   47 minutes ago   26.4MB

Starting the Console #

Use the following command to start the INFINI Console container:

docker run -p 9000:9000 infinilabs/console:1.26.1-1604

Docker Compose #

You can also use docker compose to manage container instances. Create one docker-compose.yml file as follows:

version: "3.5"

services:
  infini-console:
    image: infinilabs/console:1.26.1-1604
    ports:
      - 9000:9000
    container_name: "infini-console"

In the directory where the configuration file resides, run the following command to start INFINI Console.

➜  docker-compose up
Edit Edit this page