// build the image
docker build -t nta .
// run a container
docker run -it --name ntac --privileged -w /www -v$(pwd):/www nta bash
// next start container
docker start -i ntac
Develop
start a http server
make debug-http
build
make
demo
➜ network-traffic-ant git:(main) ✗ ./bin/nta version
Version is v1.0.0
BuildTS is 2021-02-08 16:02:04
GitHash is 7df5bf307a23755bb2ed18aa64fc91a8cee72aff
GitBranch is main
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.