summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author何勇 <[email protected]>2024-08-22 12:46:15 +0000
committer何勇 <[email protected]>2024-08-22 12:46:15 +0000
commit47839c8043583d0a32c4045faeff66de3a618935 (patch)
tree7b2a050d4ede965553ec88d49967b1b081f5f67c /README.md
parentc89ae44c9c2c401842ac1730f81155c38c7c2cc5 (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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