- Build docker image
make build
- Run docker container
make up
- Run main.go(in docker container)
go run example/todo/main.go
- curl execution(in docker container)
curl --interface tun0 -X POST -H "Content-Type: application/json" -d '{
"title": "ToDo2"
}' 'http://10.0.0.2/todos'
curl --interface tun0 http://10.0.0.2/todos
- Packet Monitoring(in docker container)
make capture
- Open wireshark/capture.pcap in wireshark