Ops can run on bare metal (eg: linux on real hardware) just fine.
$ ops build -e PORT=8080 -c config.json mylilwebserver -i mynewimg
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 |
+--------------------+--------+-------------------------------+
ops instance create <image_name> -t onprem -z onprem -p 8080
ops instance list -t onprem -z onprem
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