A quick and dirty demonstration on the way in which workloads can be run inside a container.
This repo consists of two applications, the server and the runner. The server is just a dummy application that acts as a workload to put inside the container. The runner is the tool that can place the workload in a container using one of it's supported runtimes.
- Go 1.13+
- Docker
Clone this repo and build the binaries:
$ make build
Ensure you also build the rootfs image:
$ make rootfs.tar
Update the Go dependencies like so:
$ make deps
Usage of ./bin/server-linux-amd64:
-host string
host for the HTTP clients (default "0.0.0.0")
-port string
port for the HTTP clients (default "8080")