mirror of
https://forge.dmz.skyfritt.net/Symbiose/debian-armyknife.git
synced 2025-07-04 15:03:04 +02:00
32 lines
603 B
Markdown
32 lines
603 B
Markdown
# This is a dockerfile for creating a plugable custom docker-image for various network troubleshooting-tasks
|
|
|
|
|
|
### Usage:
|
|
|
|
Clone git-repo:
|
|
|
|
```
|
|
git clone git@forge.dmz.skyfritt.net:Symbiose/debian-armyknife.git
|
|
```
|
|
Build image (from inside repo-folder, typically /opt/debian-armyknife)
|
|
|
|
```
|
|
docker build -t debian-armyknife:custom .
|
|
```
|
|
|
|
Verify that the new image is avaiable:
|
|
|
|
```
|
|
# docker images
|
|
REPOSITORY TAG IMAGE ID CREATED SIZE
|
|
debian-armyknife custom ba509e499dda 11 hours ago 321MB
|
|
```
|
|
|
|
Run image:
|
|
|
|
```
|
|
docker run -it debian-armyknife:custom bash
|
|
```
|
|
|
|
|
|
|