dragonfly/docs/en/deployment/installation/docker/standalone/manager.md

1.5 KiB

Installing Dragonfly Manager Server

This topic explains how to install the Dragonfly manager server.

Prerequisites

When deploying with Docker, the following conditions must be met.

Required Software Version Limit
Git 1.9.1+
Docker 1.12.0+

Procedure - When Deploying with Docker

Get manager image

You can get it from DockerHub directly.

  1. Obtain the latest Docker image of the manager.

    docker pull d7yio/manager
    

Or you can build your own manager image.

  1. Obtain the source code of Dragonfly.

    git clone https://github.com/dragonflyoss/Dragonfly2.git
    
  2. Enter the project directory.

    cd Dragonfly2
    
  3. Build the Docker image.

    TAG="2.0.0"
    make docker-build-manager D7Y_VERSION=$TAG
    
  4. Obtain the latest Docker image ID of the manager.

    docker image ls | grep 'manager' | awk '{print $3}' | head -n1
    

Start manager

NOTE: Replace ${managerDockerImageId} with the ID obtained at the previous step.

docker run -d --name manager --restart=always -p 8080:8080 -p 65003:65003 ${managerDockerImageId}

After manager is installed, run the following commands to verify if manager is started, and if Port 8080 and 65003 is available.

telnet 127.0.0.1 8080
telnet 127.0.0.1 65003

Manager console

Now you can open brower and visit console

Console features preview reference document console preview.