diff --git a/README.md b/README.md index 57308bc..633b926 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ docker build -t pcap-comment:v_1 . 容器建立 -docker run -it -d --name my_pcap_comment pcap-comment:v_1 python FlaskService.py +docker run -it -d -p 5000:5000 --name my_pcap_comment pcap-comment:v_1 post请求示例 curl --location 'http://172.17.0.2:5000/api/v1/pcap/comment' --form 'file=@"simulator_uid_10062_15.pcap"' --form 'url="http://192.168.45.60"' --form 'id="0ee3927f89478ecb7e672bf2a21fb5"' -o test.pcapng