Skip to content

Extracting output files

Nadav Har'El edited this page May 18, 2015 · 8 revisions

After an application runs on OSv and produces an output file, how does one extract it from the OSv image? Since Linux does not (out of the box) have ZFS support, one cannot simply mount the image on the host. So the simplest solution is to have OSv send the file over the network - either have it push the file to a server (using e.g., HTTP, NFS, etc.), or allow the file to be pulled (e.g., using HTTP).

The goal of this document is to document some convenient methods of extracting files from a running OSv

The HTTP server

One of the example applications included in the OSv source repository is a simple HTTP server. It is usually used to add a "REST API" to OSv (for remotely monitoring or administrating

Clone this wiki locally