This repository was archived by the owner on Jan 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ How to build
99============
1010
1111 1 . Install Docker with the instructions on < https://www.docker.com > .
12- 2 . Run ` ./build ` to create the local image ` dhcpd ` .
12+ 2 . Run ` ./build ` to create the local docker image ` networkboot/ dhcpd` .
1313
1414How to use
1515==========
2323 1 . Create ` data ` folder.
2424 2 . Create ` data/dhcpd.conf ` with a subnet clause for the specified
2525 network interface. If you need assistance, you can run
26- ` docker run -it --rm dhcpd man dhcpd.conf ` for a description of
27- the configuration file syntax.
28- 3 . Run ` docker -it --rm --net=host -v "$(pwd)/data":/data dhcpd eth0 ` .
26+ ` docker run -it --rm networkboot/ dhcpd man dhcpd.conf ` for a description
27+ of the configuration file syntax.
28+ 3 . Run ` docker -it --rm --net=host -v "$(pwd)/data":/data networkboot/ dhcpd eth0 ` .
2929 ` dhcpd ` will automatically start and display its logs on the console.
3030 You can press Ctrl-C to terminate the server.
3131
Original file line number Diff line number Diff line change 11#! /bin/bash
2- docker build -t dhcpd " $@ " $( dirname $0 )
2+ docker build -t networkboot/ dhcpd " $@ " $( dirname $0 )
Original file line number Diff line number Diff line change 11#! /bin/bash
22pushd $( dirname $0 ) > /dev/null
33data_dir=" $( pwd) /data"
4- docker run -ti --rm --net host -v " $data_dir " :/data dhcpd " $@ "
4+ docker run -ti --rm --net host -v " $data_dir " :/data networkboot/ dhcpd " $@ "
55popd > /dev/null
You can’t perform that action at this time.
0 commit comments