Ops
  • Introduction
  • Getting Started
  • Basic Usage
  • Configuration
  • Examples
  • Images
  • Instances
  • Volumes
  • Networking
  • Packages
  • Klibs
  • GPU
  • Hardware Acceleration
  • Clouds
    • Azure
    • AWS
    • Digital Ocean
    • Google Cloud Integration
    • IBM
    • Linode
    • OCI
    • UpCloud
    • Vultr
  • Hypervisors
    • Bhyve
    • Compose
    • Docker
    • Firecracker
    • OpenVMM
    • Hyper-V
    • Onprem
    • OpenStack
    • ProxMox
    • Virtual Box
    • VSphere
    • WorkStation
    • Terraform
    • Kubernetes
    • Bare Metal
    • Integrations
    • Debugging
    • CrossBuilding
    • MacOS
    • Deploy
    • FAQ
    • Benchmarking
  • Tools
    • Visual Studio Code Extension
  • Developer
    • Env Setup
    • Install from Source
Powered by GitBook
On this page
  • Pre-requisites
  • Image Operations
  • Build Image
  • List Images
  • Delete Image
  • Instance Operations
  • Create Instance
  • List Instances
  • Get Logs for Instance
  • Delete Instance

Was this helpful?

  1. Hypervisors

Bare Metal

Ops can run on bare metal (eg: linux on real hardware) just fine.

Pre-requisites

Image Operations

Build Image

$ ops build -e PORT=8080 -c config.json mylilwebserver -i mynewimg

List Images

You can list existing images on bare metal with ops image list.

$ ops image list -t onprem
+--------------------+--------+-------------------------------+
|        NAME        | STATUS |            CREATED            |
+--------------------+--------+-------------------------------+
| nanos-main-image   | READY  | 2019-03-21T15:06:17.567-07:00 |
+--------------------+--------+-------------------------------+
| nanos-node-image   | READY  | 2019-04-16T23:16:03.145-07:00 |
+--------------------+--------+-------------------------------+
| nanos-server-image | READY  | 2019-03-21T15:50:04.456-07:00 |
+--------------------+--------+-------------------------------+

Delete Image

Instance Operations

Create Instance

ops instance create <image_name> -t onprem -z onprem -p 8080

List Instances

ops instance list -t onprem -z onprem

Get Logs for Instance

Delete Instance

For the time being pids are used as instance ids. Perhaps this will change in the future if more people opt to use this and they need stronger prevention of data leakage.

ops instance delete 53502 -t onprem -z onprem
PreviousKubernetesNextIntegrations

Last updated 4 years ago

Was this helpful?