47 lines
733 B
Markdown
47 lines
733 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
|
|
```
|
|
|
|
|
|
|
|
Add information on how to include via docker compose:
|
|
|
|
```
|
|
missing
|
|
```
|
|
|
|
|
|
Add information on how to attach to specific network:
|
|
|
|
```
|
|
missing
|
|
```
|
|
|
|
|