mirror of
https://forge.dmz.skyfritt.net/Symbiose/debian-armyknife.git
synced 2025-06-15 13:55:24 +02:00
Update readme
This commit is contained in:
parent
6637a739f7
commit
a8642baa9c
1 changed files with 19 additions and 8 deletions
27
README.md
27
README.md
|
@ -1,21 +1,32 @@
|
||||||
# This is a dockerfile for creating a plugable custom docker-image for various network troubleshooting-tasks
|
# This is a dockerfile for creating a plugable custom docker-image for various network troubleshooting-tasks
|
||||||
|
|
||||||
|
|
||||||
Usage:
|
### Usage:
|
||||||
|
|
||||||
Clone git-repo
|
Clone git-repo:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone git@forge.dmz.skyfritt.net:Symbiose/debian-armyknife.git
|
git clone git@forge.dmz.skyfritt.net:Symbiose/debian-armyknife.git
|
||||||
|
```
|
||||||
|
Build image (from inside repo-folder, typically /opt/debian-armyknife)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Build image (from inside repo-folder)
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
docker build -t debian-armyknife:custom .
|
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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue