Skip to content

Docker based Start Guide

ByoungSeob Kim edited this page Nov 4, 2020 · 28 revisions
  • CB-Spider Docker Image Registry

  • start CB-Spider Server

    $ sudo docker run --rm -p 1024:1024 \
    -v ${HOME}/cloud-barista/cb-spider/meta_db:/root/go/src/github.com/cloud-barista/cb-spider/meta_db \
    --name cb-spider \
    cloudbaristaorg/cb-spider
    
  • start CB-Spider Server with the specific Tag Version

    $ sudo docker run --rm -p 1024:1024 \
    -v ${HOME}/cloud-barista/cb-spider/meta_db:/root/go/src/github.com/cloud-barista/cb-spider/meta_db \
    --name cb-spider \
    cloudbaristaorg/cb-spider:v0.2.2
    
  • check CB-Spider Server

    <Browser> http://{server}:1024/spider/adminweb
           or
    <Browser> http://{server}:1024/spider
           or
    $ curl -sX GET http://{server}:1024/spider/cloudos |json_pp
    
  • stop CB-Spider Server

    Ctl + C
    
  • 참고: 메타 정보 초기화 방법

    - cb-spider/cloud-driver-libs/.ssh-*/* 파일 삭제
    - cb-spider/meta_db 경로 삭제 후 서버 재가동
    

Table of contents



Clone this wiki locally