debian-armyknife/README.md

33 lines
603 B
Markdown
Raw Normal View History

2025-05-14 09:24:01 +02:00
# This is a dockerfile for creating a plugable custom docker-image for various network troubleshooting-tasks
2025-05-14 09:29:17 +02:00
### Usage:
2025-05-14 09:24:01 +02:00
2025-05-14 09:29:17 +02:00
Clone git-repo:
2025-05-14 09:24:01 +02:00
```
git clone git@forge.dmz.skyfritt.net:Symbiose/debian-armyknife.git
2025-05-14 09:29:17 +02:00
```
Build image (from inside repo-folder, typically /opt/debian-armyknife)
2025-05-14 09:24:01 +02:00
2025-05-14 09:29:17 +02:00
```
docker build -t debian-armyknife:custom .
2025-05-14 09:24:01 +02:00
```
2025-05-14 09:29:17 +02:00
Verify that the new image is avaiable:
2025-05-14 09:24:01 +02:00
2025-05-14 09:29:17 +02:00
```
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
debian-armyknife custom ba509e499dda 11 hours ago 321MB
```
2025-05-14 09:24:01 +02:00
2025-05-14 09:29:17 +02:00
Run image:
```
docker run -it debian-armyknife:custom bash
2025-05-14 09:24:01 +02:00
```