Sign inSign up

syuu1228/osv-in-docker

By syuu1228

•Updated over 11 years ago

Image
0

285

syuu1228/osv-in-docker repository overview

⁠osv-in-docker

OSv building environment on Docker, for non-Fedora users

⁠Prerequire

Install libvirtd and KVM, make it usable. Be sure virbr0 is available.

⁠How to build & run

--privileged and --net=host is required to use KVM and virbr0 from Docker container.

docker pull syuu1228/osv-in-docker:latest
docker run --privileged --net=host -i -t syuu1228/osv-in-docker /bin/bash
⁠Usage of the container
source /etc/profile.d/rvm.sh # For OSv/Ruby
rvm use 2.2.0                # For OSv/Ruby

cd /root/osv
ls apps # choose your favorite app
./scripts/build image=tomcat,httpserver # pass app name following "image="
                                        # Multiple apps can specify by using camma,
                                        # "httpserver" is system module that provides REST api and Web interface.
./scripts/run.py -n # run built VM image on KVM

Tag summary

Content type

Image

Digest

sha256:4914d9728…

Size

-

Last updated

over 11 years ago

docker pull syuu1228/osv-in-docker