diff --git a/README.md b/README.md index 971191b..2adaa91 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,13 @@ # How to interact with stockfish running in docker -Create a file called `stockfish` with the following contents: +Build the container `stockfish:15`: + +```sh +make build +``` + +Create a file called `stockfish` with the following contents (one is included in this repo): ```sh #!/bin/sh @@ -16,7 +22,7 @@ chmod +x stockfish Now you can run the following to start stockfish: ``` -docker run -d --rm --name stockfish -p 23249:23249 -p 23250:23250 -v $(pwd):/stockfish:ro -w /stockfish stockfish +make start ``` This will start a stockfish instance that will listen on port 23249 for commands.