1
- hooktftp in a container!
2
- ========================
1
+ # hooktftp in a container
3
2
4
3
This source is used to build an image for
5
4
[ hooktftp] ( https://github.com/tftp-go-team/hooktftp ) .
6
5
7
6
Project URL: [ https://github.com/jumanjihouse/docker-hooktftp ] ( https://github.com/jumanjihouse/docker-hooktftp ) <br />
8
7
Registry: [ https://registry.hub.docker.com/u/jumanjiman/hooktftp/ ] ( https://registry.hub.docker.com/u/jumanjiman/hooktftp/ )
9
8
10
- [ ![ ] ( https://images.microbadger.com/badges/image/jumanjiman/hooktftp.svg )] ( https://microbadger.com/images/jumanjiman/hooktftp " View on microbadger.com " )  ;
11
- [ ![ ] ( https://images.microbadger.com/badges/version/jumanjiman/hooktftp.svg )] ( https://microbadger.com/images/jumanjiman/hooktftp " View on microbadger.com " )  ;
12
- [ ![ Docker Registry] ( https://img.shields.io/docker/pulls/jumanjiman/hooktftp.svg )] ( https://registry.hub.docker.com/u/jumanjiman/hooktftp ' View on docker hub ' )  ;
13
- [ ![ Circle CI] ( https://circleci.com/gh/jumanjihouse/docker-hooktftp.png?style=svg&circle-token=5bf142a4f054bf78f7abd3f9f2ab553d054de414 )] ( https://circleci.com/gh/jumanjihouse/docker-hooktftp/tree/master ' View CI builds ' )
9
+ [ ![ ] ( https://images.microbadger.com/badges/image/jumanjiman/hooktftp.svg )] ( https://microbadger.com/images/jumanjiman/hooktftp )   ;
10
+ [ ![ ] ( https://images.microbadger.com/badges/version/jumanjiman/hooktftp.svg )] ( https://microbadger.com/images/jumanjiman/hooktftp )   ;
11
+ [ ![ Docker Registry] ( https://img.shields.io/docker/pulls/jumanjiman/hooktftp.svg )] ( https://registry.hub.docker.com/u/jumanjiman/hooktftp )   ;
12
+ [ ![ Circle CI] ( https://circleci.com/gh/jumanjihouse/docker-hooktftp.png?style=svg&circle-token=5bf142a4f054bf78f7abd3f9f2ab553d054de414 )] ( https://circleci.com/gh/jumanjihouse/docker-hooktftp/tree/master )
14
13
15
14
The primary artifact is a docker image with the ` hooktftp ` binary
16
15
and a default, minimal configuration.
@@ -34,20 +33,19 @@ their infrastructure.
34
33
35
34
- [ Build integrity and docker tags] ( #build-integrity-and-docker-tags )
36
35
- [ How-to] ( #how-to )
37
- - [ Fetch an already-built image] ( #fetch-an-already-built-image )
38
- - [ List files in the image] ( #list-files-in-the-image )
39
- - [ Load NetFilter modules] ( #load-netfilter-modules )
40
- - [ Configure and run] ( #configure-and-run )
41
- - [ Use systemd for automatic startup] ( #use-systemd-for-automatic-startup )
42
- - [ Build] ( #build )
43
- - [ Test] ( #test )
44
- - [ Publish to a private registry] ( #publish-to-a-private-registry )
36
+ - [ Fetch an already-built image] ( #fetch-an-already-built-image )
37
+ - [ List files in the image] ( #list-files-in-the-image )
38
+ - [ Load NetFilter modules] ( #load-netfilter-modules )
39
+ - [ Configure and run] ( #configure-and-run )
40
+ - [ Use systemd for automatic startup] ( #use-systemd-for-automatic-startup )
41
+ - [ Build] ( #build )
42
+ - [ Test] ( #test )
43
+ - [ Publish to a private registry] ( #publish-to-a-private-registry )
45
44
- [ Contribute] ( #contribute )
46
45
- [ License] ( #license )
47
46
48
47
49
- Build integrity and docker tags
50
- -------------------------------
48
+ ## Build integrity and docker tags
51
49
52
50
An unattended test harness runs the build script and acceptance tests.
53
51
If all tests pass on master branch in the unattended test harness,
@@ -61,8 +59,7 @@ The CI scripts apply two tags before pushing to docker hub:
61
59
Therefore you can ` docker pull ` a specific tag if you don't want * latest* .
62
60
63
61
64
- How-to
65
- ------
62
+ ## How-to
66
63
67
64
### Fetch an already-built image
68
65
@@ -165,7 +162,8 @@ On a docker host, run:
165
162
166
163
ci/test
167
164
168
- You can also test via the docker remote API if you have configured a remote docker host:
165
+ You can also test via the docker remote API
166
+ if you have configured a remote docker host:
169
167
170
168
export DOCKER_HOST=tcp://<remote_ip>:<port>
171
169
ci/build
@@ -234,13 +232,11 @@ You can push the built image to a private docker registry:
234
232
docker push registry_id/your_id/hooktftp
235
233
236
234
237
- Contribute
238
- ----------
235
+ ## Contribute
239
236
240
237
See [ ` CONTRIBUTING.md ` ] ( CONTRIBUTING.md ) in this repo.
241
238
242
239
243
- License
244
- -------
240
+ ## License
245
241
246
242
See [ ` LICENSE ` ] ( LICENSE ) in this repo.
0 commit comments