Jasper-Ben / cmanager

Container Manager for the users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmanager - Container Manager

This project contains one part of the backend infrastructure for the git-introduction talk. The task of this program is to spawn containers with the 'userland' image for users when they connect to the backend.

The container image is configurable and should provide a simple to use shell.

Configuration

This service can be configured entirely using environment variables. It is based on the service lib, please refer to its documentation for how to configure the websocket connection.

Additional environment variables and their meaning are described below:

Name Type Description
USER_IMAGE string Docker image to use for spawned containers
USER_ALLOW_NETWORK bool Whether to allow connections to the internat from spawned containers
USER_INTERNAL_NETWORK string A reference to a docker network created with --internal to communicate with the broker
USER_NETWORK string A reference to a docker network providing access to the internet. [Required if USER_ALLOW_NETWORK is set to a truthy value]

About

Container Manager for the users

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 97.8%Language:Dockerfile 2.2%