container-runner

module
v0.0.0-...-0ea8511 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2021 License: MIT

README

Container Runner

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.

Requirements

  • Go 1.13+
  • Docker

Building From Source

Clone this repo and build the binaries:

$ make build

Ensure you also build the rootfs image:

$ make rootfs.tar

Dependencies

Go

Update the Go dependencies like so:

$ make deps

Usage

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")

Directories

Path Synopsis
cmd
runner command
server command
internal
runtime/all
Package all imports all runtimes
Package all imports all runtimes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL