Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/genuinetools/contained.af

A stupid game for learning about containers, capabilities, and syscalls.
https://github.com/genuinetools/contained.af

apparmor containers docker game linux opencontainers seccomp security syscalls

Last synced: 3 months ago
JSON representation

A stupid game for learning about containers, capabilities, and syscalls.

Awesome Lists containing this project

README

        

# contained.af

[![make-all](https://github.com/genuinetools/contained.af/workflows/make%20all/badge.svg)](https://github.com/genuinetools/contained.af/actions?query=workflow%3A%22make+all%22)
[![make-image](https://github.com/genuinetools/contained.af/workflows/make%20image/badge.svg)](https://github.com/genuinetools/contained.af/actions?query=workflow%3A%22make+image%22)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/genuinetools/contained.af)
[![Github All Releases](https://img.shields.io/github/downloads/genuinetools/contained.af/total.svg?style=for-the-badge)](https://github.com/genuinetools/contained.af/releases)

A game for learning about containers, capabilities, and syscalls.

To add a question edit this file: [frontend/js/questions.js](frontend/js/questions.js).

**Table of Contents**

- [Run contained.af locally](#run-containedaf-locally)

## Run contained.af locally

Contained is made of a few components:

* A static HTML and JavaScript frontend in `frontend/`
* A Go web server in the project root
* An isolated Docker installation, running inside a Docker container
("Docker-in-Docker").

Prepare the static frontend assets with:

```
make dev
```

Start an isolated Docker instance in the background with:

```
make dind
```

Build and run the server with:

```
make run
```

After a few moments, contained will be available at http://localhost:10000/.