2022-09-23 15:31:44 +02:00
|
|
|
# Swiss Army Knife container
|
|
|
|
|
|
|
|
* Debian slim based image
|
|
|
|
* A lot of tools...
|
|
|
|
|
|
|
|
# Supported tags and respective `Dockerfile` links
|
|
|
|
|
|
|
|
- [`latest`](https://git.nethuis.nl/pommi/docker-swiss/Dockerfile)
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
## docker run
|
|
|
|
|
|
|
|
```
|
|
|
|
$ docker run -it \
|
|
|
|
--name swiss \
|
|
|
|
pommib/swiss:latest
|
|
|
|
```
|
2024-08-27 09:52:00 +02:00
|
|
|
|
|
|
|
## Kubernetes
|
|
|
|
|
|
|
|
```
|
|
|
|
$ kubectl create namespace swiss
|
|
|
|
$ kubectl apply -f pod.yaml -n swiss
|
|
|
|
$ kubectl get pods -n swiss
|
|
|
|
$ kubectl describe pod -n swiss
|
|
|
|
$ kubectl exec --stdin --tty -n swiss swiss -- /bin/bash
|
|
|
|
$ kubectl delete namespace swiss
|
|
|
|
```
|