Skip to content
Snippets Groups Projects
Commit ea35782d authored by Duarte Duarte's avatar Duarte Duarte Committed by GitHub
Browse files

Simplify docker example in readme since there is an "official" image now

parent 842063be
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ WowPacketParser (WPP)
[![Coverity Scan Build Status](https://img.shields.io/coverity/scan/2618.svg?style=flat-square)](https://scan.coverity.com/projects/2618)
[![Build Status TravisCI](https://img.shields.io/travis/TrinityCore/WowPacketParser/master.svg?style=flat-square)](https://travis-ci.org/TrinityCore/WowPacketParser)
[![Build Status AppVeyor](https://img.shields.io/appveyor/ci/DDuarte/wowpacketparser-191/master.svg?style=flat-square)](https://ci.appveyor.com/project/DDuarte/wowpacketparser-191)
[![Docker Pulls](https://img.shields.io/docker/pulls/trinitycore/wpp.svg?style=flat-square)](https://hub.docker.com/r/trinitycore/wpp/)
Usage
-----
......@@ -55,10 +56,12 @@ Nightly Builds
Docker (experimental)
---------------------
It is possible run WPP on Docker by running the following commands:
It is possible run WPP on Docker using the `trinitycore/wpp` image:
- Build the image: `docker build -t wpp .`
- Run it: `docker run -it --rm -v /place/where/sniffs/are/kept:/usr/src/app/build/sniffs wpp:latest sniffs/sniffname.pkt # Run`
```
docker run -v /place/where/sniffs/are/kept:/usr/src/app/build/sniffs trinitycore/wpp sniffs/sniffname.pkt
```
*/place/where/sniffs/are/kept* should your local directory containing the .pkt file and *sniffname.pkt* the file to be parsed.
Output of the parser will be added to */place/where/sniffs/are/kept*
Output (.txt/.sql) of the parser will be added to */place/where/sniffs/are/kept*.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment