Skip to content

Commit

Permalink
fix(readme): use volume in docker example
Browse files Browse the repository at this point in the history
  • Loading branch information
uulm-janbaudisch committed Apr 29, 2024
1 parent 4fb650c commit 9d72bf7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,12 @@ To pull the latest tagged version, use:
docker pull ghcr.io/softvare-group/ddnnife:latest
```

Then, you can use it like the standalone binary:
Then, you can use it like the standalone binary.
For `ddnnife` to be able to access files, you need to create a volume.
The following mounts `<local/directory>` on `/work` inside the container:

```
docker run ddnnife <path/to/ddnnf> count
docker run -v <local/directory>:/work ddnnife /work/<file.ddnnf> count
```

[c2d]: http://reasoning.cs.ucla.edu/c2d
Expand Down

0 comments on commit 9d72bf7

Please sign in to comment.