Giter VIP home page Giter VIP logo

ops's Introduction

OPS

CircleCI

Go Report

Ops is the main interface for creating and running a Nanos unikernel. It is used to package, create and run your application as a nanos unikernel instance.

Check out the DOCS

ops <command> [flags] [ARG]

Installation

Binary install

curl https://ops.city/get.sh -sSfL | sh

Install from source

This program requires GO Version 1.10.x or greater.

Installing from source follows three general steps:

  1. Clone the repository.
  2. Install dependencies:
    • make deps
  3. Build
    • make build

For detailed instructions please consult the documentation.

Basic usage examples

Before learning more about ops it is a good idea to see some basic usage examples. Below are links to simple examples using various programming platforms:

Setup networking

bridge network

sudo ops net setup

reset

sudo ops net reset

Build a bootable image

ops build <ELFBinary>

Package and run

ops run <ELFBinary>
OR
ops run -p <port> <ELFBinary>

Using a config file

ops run -p <port> -c <file> <ELFBinary>

Example config file

ops config files are plain JSON, below is an example

{
    "Args":["one","two"],
    "Dirs":["myapp/static"]
}

## File layout on local host machine 
    -myapp
        app
        -static
            -example.html
            -stylesheet 
                -main.css
## File  layout on VM
    /myapp
        app
        /static
            -example.html
            /stylesheet
                -main.css

Reporting Bugs

Feel free to open up a pull request. It's helpful to have your OPS version and the release channel you are using.

ops version

get the release channel (or nightly)

ls .ops/

if using a package get the package hash:

cat .ops/packages/manifest.json| jq '."gnatsd_1.4.1"'

Pull Requests

If you have an idea for a new feature and it might take longer than a few hours or days to do it's worth opening a feature request tkt to ideate it first before jumping into code. There might be someone already working on the feature or plans to do something entirely different.

Security

Security

Feel free to email security at.

ops's People

Contributors

tijoytom avatar sanketsudake avatar externalreality avatar eyberg avatar mkhon avatar rutu-k avatar wjhun avatar cbarraford avatar nirounacho avatar anikitenko avatar skupr avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.