debian-armyknife/README.md
jostein@valkyrie3.skyfritt.net 4a39b99602 update
2025-05-16 11:03:23 +02:00

72 lines
1.1 KiB
Markdown

# Dockerfile for creating a plugable debian for various troubleshooting-tasks
### Usage:
###### 1. Clone git-repo:
```
git clone https://forge.dmz.skyfritt.net/Symbiose/debian-armyknife
```
or (via Skyfritt-mirror):
```
git clone https://forge.dmz.skyfritt.net/Skyfritt/debian-armyknife
```
###### 2. Build image (from inside repo-folder, typically /opt/debian-armyknife)
docker:
```
docker build -t debian-armyknife:custom .
```
podman:
```
missing
```
###### 3. Verify that the new image is avaiable:
docker:
```
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
debian-armyknife custom ba509e499dda 11 hours ago 321MB
```
podman:
```
missing
```
###### 4. Run image:
docker:
```
docker run -it debian-armyknife:custom bash
```
podman:
```
missing
```
###### 5. Run and attach to specific network:
docker:
```
docker run --network [NETWORK NAME] -it debian-armyknife:custom bash
```
podman:
```
missing
```
###### Add information on how to include via docker compose / quadlet:
docker:
```
missing
```
podman:
```
missing
```