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

https://github.com/bsm/console

Docker console
https://github.com/bsm/console

Last synced: about 2 months ago
JSON representation

Docker console

Awesome Lists containing this project

README

          

# Console

Simple console container, useful as a dev pod.

To deploy in K8s, add the following manifest:

```yaml
apiVersion: apps/v1
kind: Pod
metadata:
name: console
spec:
containers:
- name: console
image: ghcr.io/bsm/console/console:latest
imagePullPolicy: Always
```

To execute custom commands at boot time you can include custom init scripts into a
`ConfigMap`. For example:

```yaml
---
apiVersion: v1
kind: ConfigMap
metadata:
name: special-config
namespace: default
data:
10-nproc.sh: |
#!/bin/bash

nproc > /tmp/NPROC
---
apiVersion: apps/v1
kind: Pod
metadata:
name: console
namespace: console
spec:
containers:
- name: console
image: ghcr.io/bsm/console/console:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: "/etc/console/init/boot.d"
name: bootd
volumes:
- name: bootd
configMap:
name: console-boot
```