Skip to content

Commit 7637a0f

Browse files
authored
Fix Docker commands list to make functional
1 parent b21530d commit 7637a0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Inputting one of these commands and pressing the Enter key will execute the comm
3737

3838
## Docker Update
3939
For a much increased ability to compute, better portability, and fine control of the permissions programs are able to exercise, Docker containers will be replacing Rust programs in the near future.
40-
A set of commands similar to:
40+
A set of commands for managing task may look like:
4141
```ruby
4242
# Start container with limited network and file access
43-
docker run --network none -v "C:\Program Files\DCC\TaskData\<taskID>:/out/" <taskID> --rm --name=<taskID>;
43+
docker run --network none --rm --name=<taskID> -v "C:\Program Files\DCC\TaskData\<taskID>:/out/" <taskIDImg> /bin/bash run.sh;
4444
# Wait for the container to exit and return exit code (This will be done in a background thread, and will time out when mining ends)
4545
docker wait <taskID>;
4646
# Stop the container

0 commit comments

Comments
 (0)