debian-armyknife/README.md
jostein@valkyrie3.skyfritt.net a6645d5f3a Update Readme
2025-05-14 09:46:53 +02:00

46 lines
820 B
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
```
###### 2. Build image (from inside repo-folder, typically /opt/debian-armyknife)
```
docker build -t debian-armyknife:custom .
```
###### 3. Verify that the new image is avaiable:
```
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
debian-armyknife custom ba509e499dda 11 hours ago 321MB
```
###### 4. Run image:
```
docker run -it debian-armyknife:custom bash
```
###### 5. Run and attach to specific network:
```
docker run --network [NETWORK NAME] -it debian-armyknife:custom bash
```
###### Add information on how to include via docker compose:
```
missing
```