Public Repository

Last pushed: 2 years ago
Short Description
LeoFS environment for Ubuntu
Full Description

leofs-docker

Docker container image for LeoFS.

Installation

$ docker pull firejun/leofs:latest

Start LeoFS

$ docker run -d firejun/leofs:latest

Confirm container ID

$ docker ps -a -q
{Container ID}

Check boot log

$ docker logs {Container ID}
* Starting OpenBSD Secure Shell server sshd
Generating RING...
Generated RING
OK 100% - storage_0@127.0.0.1
OK
LeoFS is ready!!

Confirm IP Address

$ docker inspect {Container ID} | grep IPAddress
    "IPAddress": "172.17.0.XXX",

Login by SSH

ID: leofs
Password: leofs

$ ssh leofs@172.17.0.XXX

leofs-adm command

~$ leofs-adm status
 [System Confiuration]
-----------------------------------+----------
 Item                              | Value
-----------------------------------+----------
 Basic/Consistency level
-----------------------------------+----------
                    system version | 1.2.8
                        cluster Id | leofs_1
                             DC Id | dc_1
                    Total replicas | 1
          number of successes of R | 1
          number of successes of W | 1
          number of successes of D | 1
 number of rack-awareness replicas | 0
                         ring size | 2^128
-----------------------------------+----------
 Multi DC replication settings
-----------------------------------+----------
        max number of joinable DCs | 2
           number of replicas a DC | 1
-----------------------------------+----------
 Manager RING hash
-----------------------------------+----------
                 current ring-hash | 433fe365
                previous ring-hash | 433fe365
-----------------------------------+----------

 [State of Node(s)]
-------+--------------------------+--------------+----------------+----------------+----------------------------
 type  |           node           |    state     |  current ring  |   prev ring    |          updated at
-------+--------------------------+--------------+----------------+----------------+----------------------------
  S    | storage_0@127.0.0.1      | running      | 433fe365       | 433fe365       | 2015-04-01 00:00:00 +0000
  G    | gateway_0@127.0.0.1      | running      | 433fe365       | 433fe365       | 2015-04-01 00:00:00 +0000
-------+--------------------------+--------------+----------------+----------------+----------------------------

When you want to know more about details, please visit document pages.

Links

Docker Pull Command
Owner
firejun

Comments (1)
paraspatel
2 years ago

nice!!!!!!