-
Notifications
You must be signed in to change notification settings - Fork 48
Docker based Start Guide
ByoungSeob Kim edited this page Sep 19, 2024
·
28 revisions
-
Docker Image Registry
-
Supported Tag Types
-
latest
: Tag for the latest stable and pre-release versions. -
0.8.21
: Semantic versioning tag for releases. -
edge
: Tag for Merged PRs.
-
-
Start CB-Spider Server(latest)
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
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:latest
-
Start CB-Spider Server with Authorization Mode
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 \ -e API_USERNAME="default" -e API_PASSWORD="default" \ cloudbaristaorg/cb-spider:0.8.19
-
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:0.7.0
-
Start CB-Spider Server with the Log Level Setup
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 \ -e SPIDER_LOG_LEVEL="error" -e SPIDER_HISCALL_LOG_LEVEL="error" \ cloudbaristaorg/cb-spider:0.8.14
- Log Level Options
* SPIDER_LOG_LEVEL: trace | debug | info | warn/warning | error | fatal | panic * SPIDER_HISCALL_LOG_LEVEL: info | error
- Log Level Options
-
Start CB-Spider Server with Service Address Configuration
sudo docker run -e SERVICE_ADDRESS="1.2.3.4:1024" --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
-
check CB-Spider Server
$ curl -sX GET http://{server}:1024/spider/readyz or $ curl -sX GET http://{server}:1024/spider/cloudos |json_pp or <Browser> http://{server}:1024/spider or <Browser> http://{server}:1024/spider/adminweb
-
stop CB-Spider Server
Ctl + C or $ sudo docker stop cb-spider
-
Server Configurations
-
Initialize Meta Info
- stop Server - $ rm -rf cb-spider/meta_db/* - start Server
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- Price Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]