Public | Automated Build

Last pushed: 10 days ago
Short Description
ciao-launcher provides a Compute/Network manager for a CIAO cluster
Full Description

CIAO Launcher


This provides a CIAO Launcher container

Features

  • From source building solution
  • Daemon and Manual service start mode
  • You mess it, just destroy it and start it again
  • Develop on you local development machine and deploy it on container

Build

docker build -t clearlinux/ciao-launcher .

Or just pull it from Dockerhub

docker pull clearlinux/ciao-launcher

Pre-requirements

Before starting ciao-launcher, take a look on CIAO on top of Docker containers for development

Start CIAO Launcher container

Run in daemon mode

docker run -it -d --name launcher --net=host --privileged -v /dev/kvm:/dev/kvm \
    -v /dev:/dev -v /var/run/docker.sock:/var/run/docker.sock \
    --cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun \
    -v `pwd`/certs/CAcert-localhost.pem:/etc/pki/ciao/CAcert-ciao-dev.pem \
    -v `pwd`/certs/cert-CNAgent-NetworkingAgent-localhost.pem:/etc/pki/ciao/cert-CNAgent-NetworkingAgent-ciao-dev.pem \
    -v $GOPATH/src/github.com/01org/ciao:/root/go/src/github.com/01org/ciao \
    ciao/launcher

Run on manual mode

docker run -it --name launcher --net=host --privileged -v /dev/kvm:/dev/kvm \
    -v /dev:/dev -v /var/run/docker.sock:/var/run/docker.sock \
    --cap-add=NET_ADMIN --device /dev/net/tun:/dev/net/tun \
    -v `pwd`/certs/CAcert-localhost.pem:/etc/pki/ciao/CAcert-ciao-dev.pem \
    -v `pwd`/certs/cert-CNAgent-NetworkingAgent-localhost.pem:/etc/pki/ciao/cert-CNAgent-NetworkingAgent-ciao-dev.pem \
    -v $GOPATH/src/github.com/01org/ciao:/root/go/src/github.com/01org/ciao \
    ciao/launcher bash

# Inside container
root@example.com # ls
ciaorc  go  launcher.sh share

# Manual Start of Ciao Launcher
root@example.com # ./launcher.sh

Getting CIAO Scheduler logs from docker

docker logs -f ciao-scheduler

Environment Variables

  • CEPH_ID Specifies the CEPH storage ID (default=admin)

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#/arg

Docker Pull Command
Owner
clearlinux
Source Repository

Comments (0)