https://github.com/bsm/console
Docker console
https://github.com/bsm/console
Last synced: about 2 months ago
JSON representation
Docker console
- Host: GitHub
- URL: https://github.com/bsm/console
- Owner: bsm
- License: apache-2.0
- Created: 2025-10-19T15:22:49.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-10-31T15:34:24.000Z (7 months ago)
- Last Synced: 2025-10-31T16:21:37.708Z (7 months ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```